Sign In/My Account | View Cart  
advertisement

Article:
 Doing HTTP Caching Right: Introducing httplib2
Subject: Implementations
Date: 2006-02-03 17:47:51
From: Joe Gregorio
Response to: Implementations

Mark,
I've tried to be as careful as I could in my implementation. For example, I will use all validators that a server sends; if it sends just an ETag I use that, if a server sends just Last-Modified I use that, if a server sends both then I will send back both when validating. Httplib2 also adds in a "Cache-Control: no-cache" header if a request is sent with "Pragma: no-cache".
Vary headers can be a problem for intermediaries, but I don't think there is anything much I can do about that as a client library.



No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Titles Only Titles Only Newest First
  • Implementations
    2006-02-03 20:56:07 Mark Nottingham

    That's great; I wouldn't think you'd do a bad job; just pointing out that people shouldn't have very high expectations for other implementations.


    Cheers,


Sponsored By: