> Date: Thu, 20 Oct 2005 10:04:24 +1000 > From: Kinsley Turner <[EMAIL PROTECTED]> > > I checked the icon, it seemed to be ok. I'm unfamiliar with win32 > tools, but it seemed that the data being delivered from the socket > rendered differently from a python print() compared to a terminal > 'type icon.ico'. I cut the code out and tested it in isolation - this > showed it to be flawless. Despite appearing correct in other software > the binary identical icon appears broken in IE 6.<something>.
for what its worth, had a similar problem serving up images from a Python CGI script running on Apache on WinXP. what worked for me was adding the "-u" switch to the shebang #!E:\Python23\python.exe -u -u : unbuffered binary stdout and stderr (also PYTHONUNBUFFERED=x) see man page for details on internal buffering relating to '-u' hope this helps _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32