New submission from Jose Gama <josephg...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue34777> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com