Logged In: YES
user_id=261020
I can't see where your AttributeError is coming from.
Thankyou very much for the bug report, but *please* supply
some means of reproducing the problem!
> The headers arguments to all methods are dictionaries,
They are in fact always httplib.HTTPMessage instances, as
far as I can see. That class inherits a .getheaders()
method from rfc822.Message. (And FWIW, so far as I can see,
the type of the "hdrs" arguments to the .http_error_*()
handler methods are not documented.)
Moreover, .getheaders() and .get() don't mean the same thing
in general: HTTPMessage.getheaders(name)[0] preserves header
ordering information, where eg. dict.get(name) does not.
|