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

Georg Brandl report at bugs.python.org
Sun Oct 6 17:43:34 CEST 2013


Georg Brandl added the comment:

OK, so I guess it could be documented that the "headers" attribute is not set if the request cannot be parsed as a HTTP request.  That's a valid point.

By the way, you should really call your "self" argument "self".

----------
versions: +Python 2.7, Python 3.4

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


More information about the docs mailing list