Daniel Diniz <aja...@gmail.com> added the comment: Confirmed in trunk.
Easier to copy and paste: import urllib2 h = urllib2.HTTPHandler(debuglevel = 1) opener = urllib2.build_opener(h) request = urllib2.Request('http://www.google.de/') request.header_items() opener.open(request) request.header_items() request.add_header('User-agent', 'Buggy') request.header_items() opener.open(request) ---------- keywords: +patch nosy: +ajaksu2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1595365> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com