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.
Showing
Please
register
or
sign in
to comment