]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport for bug #839496: always read files in binary mode. Opening files in
authorJohannes Gijsbers <jlg@dds.nl>
Mon, 10 Jan 2005 09:27:17 +0000 (09:27 +0000)
committerJohannes Gijsbers <jlg@dds.nl>
Mon, 10 Jan 2005 09:27:17 +0000 (09:27 +0000)
commit9632e94afbe172ef30f394c8fb7d896ed6e43f87
tree2efe4e5596e0bd0e8cbaea306aba5ea8929bd1ee
parenta949c994531f9599f2251840aee511693eb51864
Backport for bug #839496: always read files in binary mode. Opening files in
text mode may cause newline translations, making the actual size of the content
transmitted *less* than the content-length.
Lib/SimpleHTTPServer.py