William Grant
|
206c860890
|
Pull c= value parsing out into Canonicalizationpolicy.from_c_value.
|
2011-06-04 14:30:19 +10:00 |
|
William Grant
|
7b1a3f70dc
|
Add CanonicalizationPolicy, which encapsulates the combined hybrid simple/relaxed schemes.
|
2011-06-04 14:05:54 +10:00 |
|
William Grant
|
b78a41d6bf
|
Add an __all__.
|
2011-06-03 22:04:21 +10:00 |
|
William Grant
|
5da23e5856
|
rstrip header field names in relaxed, as the spec says.
|
2011-06-03 22:03:41 +10:00 |
|
William Grant
|
61cd0e1080
|
Factor out all the canonicalization regexps.
|
2011-06-03 22:03:14 +10:00 |
|
William Grant
|
28aaa6f2f2
|
dkim.canonicalization now has an algorithms dict mapping names to algorithms. Use it.
|
2011-06-03 21:52:33 +10:00 |
|
William Grant
|
589853aee5
|
Split out dkim.canonicalization, and test it. Note that test_wsp_strips_headers is correctly failing, as trailing whitespace is not stripped from header names.
|
2011-06-03 21:16:31 +10:00 |
|