On 5/16/06, Kevin Dangoor <[EMAIL PROTECTED]> wrote:
> Actually, 1026 is long past.  You've found a legitimate bug. Please
> open a ticket and set the milestone to 1.0b1...

Yup, I didn't read #686 carefully before posting here :o)

I filed another ticket yesterday, #879 - setting the milestone now.

Until then, if anyone else is having problems with this, a workaround
is to remove the 'If-Modified-Since' header from the request before
calling serveFile:

if 'If-Modified-Since' in cherrypy.request.headers:
    del cherrypy.request.headers['If-Modified-Since']
return serveFile(thumbpath, 'image/jpeg')

This makes CherryPy return a generator that reads the file every time.

Arnar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to