Issue 18229: attribute headers of http.server ...
bugs.python.org › issue18229Added 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. msg216523 - Author: Roundup Robot (python-dev) Date: 2014-04-16 17:56