durusmail: quixote-users: (Another) patch for medusa_http.py
Patch for medusa_http.py
2002-11-04
2002-11-04
2002-11-04
2002-11-04
2002-11-04
2002-11-05
(Another) patch for medusa_http.py
2002-11-06
2002-11-06
2002-11-06
2002-11-06
2002-11-13
2002-11-20
2002-11-20
2002-12-22
(Another) patch for medusa_http.py
Nicola Larosa
2002-11-06
> Two possibilities: if you're on Windows and the files are binary data
> like JPEGs, be sure they're being opened in binary mode with open(...,
> 'rb').

I actually thought of that, but I'm on Linux, and all files cut *exactly* at
1024 bytes, and that would be too much of a coincidence.


> Second and more likely, there's a bug in Medusa 0.5.2 that has
> similar symptoms.

That was it.


> Someone spank me if I don't make a Medusa 0.5.3 release *tonight* to
> get this bugfix out; that's a task that's been dangling too long.

I surely won't. :^) I kept having truncating problems with Medusa, when
spitting out static files too, but your patch all but eliminated them.

A big *thank you* to you! :^)))


--
"We should forget about small efficiencies, about 97% of the time.
Premature optimization is the root of all evil."  Donald Knuth

Nicola Larosa - nico@tekNico.net


reply