curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: --etag-compare vs. --time-cond

From: Paul Gilmartin via curl-users <curl-users_at_lists.haxx.se>
Date: Sat, 4 Mar 2023 21:24:35 -0700

On 3/4/23 15:41:44, Timothe Litt via curl-users wrote:

> ...
> Section 6 also discusses precedence and evaluation order.
>
> As I said, read the whole RFC.
>
> Your test isn't valid.  An E-Tag validator is only meaningful to the server that sent it.
> ...
> For example, consider a validator that internally looks like <mtime>-<size>-<expires>.  If the server doesn't keep a side database of validators, it might try to parse it, and since "wombat" isn't in that format, give up.

I'm calling it the site. Another URL on a different site let ETag dominate
and didn't give up on "wombat", not calling it a matcn.

-- 
Thanks again,
gil
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-03-05