[issue22467] Lib/http/server.py, inconsistent header casing

DS6 report at bugs.python.org
Tue Sep 23 07:34:35 CEST 2014


DS6 added the comment:

Erp, *retrieve, and I meant copyfile, not sendfile. I'm tired.

Very quick reply, by the way.

I suppose I forgot to mention that _headers_buffer is for sending headers, not for receiving them. As far as I can read, the received header information is already case-insensitive, due to email.message.Message being used.

It also occurs to me that the _headers_buffer field probably wasn't designed to be directly accessed, seeing as how it's usually flushed immediately after being modified...

----------

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


More information about the Python-bugs-list mailing list