diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2009-03-27 20:24:34 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2009-03-27 20:24:34 (GMT) |
commit | 236654b82df30b2df5edf72cd808f792cdde9d3a (patch) | |
tree | bf699a151050ff282f72d178273daf8a5b3fa1f4 /Misc/NEWS | |
parent | 98eb6c283881168adbedf37bb34300c39954397a (diff) | |
download | cpython-236654b82df30b2df5edf72cd808f792cdde9d3a.zip cpython-236654b82df30b2df5edf72cd808f792cdde9d3a.tar.gz cpython-236654b82df30b2df5edf72cd808f792cdde9d3a.tar.bz2 |
Fix some string encoding issues with entity bodies in HTTP requests.
RFC 2616 says that iso-8859-1 is the default charset for HTTP entity
bodies, but we encoded strings using ascii. See
http://bugs.python.org/issue5314. Changed docs and code to use
iso-8859-1.
Also fix some brokenness with passing a file as the body instead of a
string.
Add tests to show that some of this behavior actually works.
Diffstat (limited to 'Misc/NEWS')
0 files changed, 0 insertions, 0 deletions