ramzihad / python-rest-client

Automatically exported from code.google.com/p/python-rest-client
0 stars 0 forks source link

request method ignores User-Agent header #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Connection.request() overwrites any value for User-Agent supplied in a dict
value for the headers parameter with 'Basic Agent'. It should instead test
for the presence of a value for key 'User-Agent' before writing a default
value.

Original issue reported on code.google.com by bradley....@gmail.com on 29 Jun 2009 at 9:22

GoogleCodeExporter commented 8 years ago
I haven't join the project yet but here is a patch as possible solution to the 
issue listed above.

Original comment by dr.chamb...@gmail.com on 11 Oct 2010 at 5:44

Attachments: