]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue839496: SimpleHTTPServer should open all files in binary mode.
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Sun, 6 Jul 2008 21:34:39 +0000 (21:34 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Sun, 6 Jul 2008 21:34:39 +0000 (21:34 +0000)
commit0f7cddc308b297e6a1c2dd61503acea38401656f
treec23dda9b8ae93549e83bb939dbd9ae09f49701de
parentaaca97810308dbfd9147cce98384f50d4ae4a3d3
Issue839496: SimpleHTTPServer should open all files in binary mode.

Forward-port of 38255 (2005/01/15!)
This was already fixed in 2.4, but never merged into trunk...
py3k is already right, thanks to the bytes/str distinction!

Should be backported to 2.5.
Lib/SimpleHTTPServer.py
Misc/NEWS