[New-bugs-announce] [issue34777] urllib.request accepts anything as a header parameter for some URLs
Jose Gama
report at bugs.python.org
Sun Sep 23 12:07:48 EDT 2018
New submission from Jose Gama <josephgama at yahoo.com>:
It is possible to use urllib.request defining a header that can be junk in some cases and still get the contents without any warning or error.
The behavior depends on the URL and also on the header.
----------
components: IO
files: header-illegal.py
messages: 326162
nosy: tuxcell
priority: normal
severity: normal
status: open
title: urllib.request accepts anything as a header parameter for some URLs
type: behavior
versions: Python 3.6
Added file: https://bugs.python.org/file47819/header-illegal.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34777>
_______________________________________
More information about the New-bugs-announce
mailing list