Metadata in zope / binary data on FS, was Re: [ZODB-Dev] __del__ with Persistent objects

Chris Withers chrisw at nipltd.com
Thu Jul 31 18:55:26 EDT 2003


Toby Dickenson wrote:
> ZPublisher responds "401 Unauthorised" if the authorization fails, and squid 
> will return that to the client.
> 
> If ZPublisher authorizes the request, Zope's File instance will check the 
> If-Modified-Since request header and return either:
> 
>   "200" plus the file body, if it has changed. Squid caches it 
>   plus the Last-Modified header (ready for next time), and
>   feeds it back to the client.
> 
>   or
> 
>   "304 Not Modified", but *not* the file body. Squid reads the file
>   body from its cache and sends it direct to the client.

great :-)

Chris




More information about the ZODB-Dev mailing list