This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author axel3rd
Recipients axel3rd, docs@python
Date 2021-02-26.19:07:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614366465.63.0.480408878251.issue43331@roundup.psfhosted.org>
In-reply-to
Content
Currently, the Request (https://docs.python.org/3/library/urllib.request.html#urllib.request.Request) send header keys in Camel case.

This is a choice strategy (no problem with that) and even if headers should be considered insensitively (RFC 7230 - 3.2. Header Fields: https://tools.ietf.org/html/rfc7230#section-3.2), this is not always the case.

The fact that header keys are "rewritten" (in Camel case) could occurs complexity in troubleshooting (for sample: https://github.com/probot/adapter-aws-lambda-serverless/issues/62).

Having a note/mention about that in documentation would be nice.

PR will come.
History
Date User Action Args
2021-02-26 19:07:45axel3rdsetrecipients: + axel3rd, docs@python
2021-02-26 19:07:45axel3rdsetmessageid: <1614366465.63.0.480408878251.issue43331@roundup.psfhosted.org>
2021-02-26 19:07:45axel3rdlinkissue43331 messages
2021-02-26 19:07:45axel3rdcreate