From: Fredrik Tolf Date: Wed, 14 Mar 2012 19:07:45 +0000 (+0100) Subject: Always downcase MIME header parameter names. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=ea18777a1f761acd6b790467db79679b94850af9;p=wrw.git Always downcase MIME header parameter names. --- diff --git a/wrw/proto.py b/wrw/proto.py index d2762d5..7df66ff 100644 --- 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):