En Tue, 06 Oct 2009 17:26:19 -0300, Victor Subervi
<victorsube...@gmail.com> escribió:
The code in question is generated automatically from another script. I
took
your idea of the \r\n\r\n and added triple quoting and now it prints out
this:
That's still wrong. The output should be:
- a line containing Content-Type: image/jpeg
- a blank line (no more!)
- the actual image data
A Content-Type of text/html is just *wrong* for an image...
--
Gabriel Genellina
--
http://mail.python.org/mailman/listinfo/python-list