Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40131e7
)
Always downcase MIME header parameter names.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 14 Mar 2012 19:07:45 +0000
(20:07 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 14 Mar 2012 19:07:45 +0000
(20:07 +0100)
wrw/proto.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/proto.py
b/wrw/proto.py
index
d2762d5
..
7df66ff
100644
(file)
--- a/
wrw/proto.py
+++ b/
wrw/proto.py
@@
-63,7
+63,7
@@
def pmimehead(hstr):
break
p += 1
v, p = token(p, ';')
- pars[k] = v
+ pars[k
.lower()
] = v
return val, pars
def htmlq(html):