CGI python 3 write RAW BINARY

Antoine Pitrou solipsis at pitrou.net
Fri Apr 30 17:52:36 CEST 2010


Le Thu, 29 Apr 2010 23:37:32 +0200, Dodo a écrit :
> ....I don't get a thing.
> Now with the fix :
> All browsers shows a different thing, but not the image!
> http://ddclermont.homeip.net/misc/python/
> 
> If I save it to computer :
> * Windows image viewer won't read it
> * Irfanview can read it without problems

Did you set the content-type and content-length in the HTTP headers?
Can you post your code?





More information about the Python-list mailing list