Martin McNickle <[EMAIL PROTECTED]> added the comment:

I decided that the user should have full control over the headers sent.
 Any call to add_header() or add_redirected_header() will now check if a
header with that same name has been set in the Request before (in both
the header and the unredirected header dictionaries), and if so
overwrite it.

The tests run fine with the patch installed, and also included is a
patch for the urllib2 documentation.

----------
keywords: +patch
Added file: http://bugs.python.org/file10200/add_header_complete.patch

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue2756>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to