|
On 21/02/2012 16.00, Stuart P. Bentley wrote:
I'm trying to get a JPEG image through an http.request call, but when I look at the body, something in the chain has gone and changed all the 0A bytes to 0D0A, corrupting the image.
On Windows you should open non-text files in binary mode ("wb" to write). -- Enrico