[issue18229] attribute headers of http.server.BaseHTTPRequestHandler sometimes does not exists

Caelyn McAulay report at bugs.python.org
Tue Apr 15 19:58:44 CEST 2014


Caelyn McAulay added the comment:

Added comment to documentation concerning when the headers attribute gets set. 

I confirmed that the headers attribute is only ever set in the parse_request method of BaseHTTPRequestHandler and only if the request is successfully parsed as HTTP.

----------
keywords: +patch
nosy: +math_foo
Added file: http://bugs.python.org/file34884/documentation18229.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18229>
_______________________________________


More information about the Python-bugs-list mailing list