commit | 872dba42538b201b0eed9eeb093183d34c57ab3f | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Fri Oct 27 17:11:23 2006 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Fri Oct 27 17:11:23 2006 +0000 |
tree | d19e0b070595d1f2c6f017a5a03750c069f51827 | |
parent | 6d72b0e1f8c6e096aab46aa53d7081df4e3d8153 [diff] |
[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.