Re: [whatwg/fetch] redirects and etag/if-none-match (Issue #1770)

Just to clarify:

Given request reqA that receives a response resA, and resA contains a redirection status code and `Location` header pointing to B. You seem to be expecting reqB to contain `If-None-Match` header fields, but it's not clear where the Etags in them were obtained: is it from a stored response from B, or from resA?

If it's a stored response from B, I agree that the request _should_ contain a conditional (although it is not required to by HTTP, at least). However, if it's from reqA, that's problematic; ETags obtained from A have nothing to do with B.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1770#issuecomment-2309248620
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1770/2309248620@github.com>

Received on Monday, 26 August 2024 03:47:27 UTC