[issue46439] Clarify urllib.request.add_header documentation

Éric Araujo report at bugs.python.org
Fri Jan 21 14:22:24 EST 2022


Éric Araujo <merwok at netwok.org> added the comment:

I think the doc assumes that people will expect headers to be added for redirections, and if not the existence of the method `add_unredirected_header` that’s documented just after would tell it.

That said, the addition does no harm, so why not be explicit.

----------
nosy: +eric.araujo

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46439>
_______________________________________


More information about the Python-bugs-list mailing list