Fri 29 Aug 2008 05:36:37 PM UTC, comment #4:
verbatim-mode's not all that readable.
The gist is, we should go ahead and use If-Modified-Since, perhaps even now before there's true HTTP/1.1 support (provided it works in a reasonable percentage of cases); and just ensure that any Last-Modified header is sane.
|
Fri 29 Aug 2008 05:34:23 PM UTC, comment #3:
From IRC chat with Daniel Stenberg of curl
|
Tue 26 Aug 2008 07:22:38 AM UTC, comment #2:
vinocit points out that if the remote end will still send the full content even if it hasn't been modified since the timestamp, if the server doesn't grok the If-Modified-Since header (implements HTTP/1.0). The only reliable way to avoid this is to first determine the server's version (or, have it cached somewhere). That'd mean (a) waiting on this until we have proper HTTP/1.1 support, and (b) relying on the current HEAD-then-GET mechanism until we've gotten our first response back from the server, complete with version info.
|