there's a ticket on this (forgot the number) -- the code needs to be
changed on windows to open in binary mode, or something like that...

xtian wrote:
> When I've been playing with Django I've often noticed broken images in
> the admin interface - chasing the urls shows that they seem to resolve
> to the correct files, but requesting the urls results in blank images
> for .gifs and invalid files for .pngs (for example, the search icon
> /media/img/admin/icon_searchbox.png comes back as the string
> '\x89PNG\n', and /media/img/admin/default-bg.gif is 463 bytes when it
> should be 844 bytes).
>
> I seem to remember hearing something about this on c.l.p a few years
> ago (as a problem with BaseHTTPServer on Windows), but can't find
> anything about it. Has anyone else seen it? I guess lots of people are
> using linux/apache/both. Any hints as to what I could look at?
> 
> Thanks,
> xtian

Reply via email to