]> granicus.if.org Git - python/commit
[Patch #1574068 by Scott Dial] urllib and urllib2 were using
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 27 Oct 2006 17:11:23 +0000 (17:11 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 27 Oct 2006 17:11:23 +0000 (17:11 +0000)
commit872dba42538b201b0eed9eeb093183d34c57ab3f
treed19e0b070595d1f2c6f017a5a03750c069f51827
parent6d72b0e1f8c6e096aab46aa53d7081df4e3d8153
[Patch #1574068 by Scott Dial] urllib and urllib2 were using
base64.encodestring() for encoding authentication data.
encodestring() can include newlines for very long input, which
produced broken HTTP headers.
Lib/urllib.py
Lib/urllib2.py