[issue43331] [Doc][urllib.request] Explicit the fact that header keys are sent in Camel case

2021-02-26 Thread Alix Lourme


New submission from Alix Lourme :

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.

--
assignee: docs@python
components: Documentation
messages: 387736
nosy: axel3rd, docs@python
priority: normal
severity: normal
status: open
title: [Doc][urllib.request] Explicit the fact that header keys are sent in 
Camel case
type: behavior
versions: Python 3.10

___
Python tracker 
<https://bugs.python.org/issue43331>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue43331] [Doc][urllib.request] Explicit the fact that header keys are sent in Camel case

2021-02-26 Thread Alix Lourme


Change by Alix Lourme :


--
keywords: +patch
pull_requests: +23446
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/24661

___
Python tracker 
<https://bugs.python.org/issue43331>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com