[New-bugs-announce] [issue16388] Urllib screws up capitalization in "User-Agent" HTTP Header
report at bugs.python.org
Fri Nov 2 17:54:13 CET 2012
New submission from Calvin Owens:
Urllib encodes as: "User-agent"
The correct form is: "User-Agent"
This is quite important, as it makes this library totally unusable for scraping moronic websites which require a recognized User-Agent string to work correctly, of which there are many.
components: Library (Lib)
title: Urllib screws up capitalization in "User-Agent" HTTP Header
versions: Python 3.2
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce