- From: Mark Nottingham <notifications@github.com>
- Date: Mon, 06 Feb 2023 22:29:49 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/issues/722/1420264615@github.com>
Yes, I think the proposal is to remove what are now (17) and (18) from [http-network-or-cache-fetch](https://fetch.spec.whatwg.org/#http-network-or-cache-fetch): > 17. If httpRequest’s [cache mode](https://fetch.spec.whatwg.org/#concept-request-cache-mode) is "no-cache", httpRequest’s [prevent no-cache cache-control header modification flag](https://fetch.spec.whatwg.org/#no-cache-prevent-cache-control) is unset, and httpRequest’s [header list](https://fetch.spec.whatwg.org/#concept-request-header-list) [does not contain](https://fetch.spec.whatwg.org/#header-list-contains) `Cache-Control`, then [append](https://fetch.spec.whatwg.org/#concept-header-list-append) (`Cache-Control`, `max-age=0`) to httpRequest’s [header list](https://fetch.spec.whatwg.org/#concept-request-header-list). > 18. If httpRequest’s [cache mode](https://fetch.spec.whatwg.org/#concept-request-cache-mode) is "no-store" or "reload", then: > 1) If httpRequest’s [header list](https://fetch.spec.whatwg.org/#concept-request-header-list) [does not contain](https://fetch.spec.whatwg.org/#header-list-contains) `Pragma`, then [append](https://fetch.spec.whatwg.org/#concept-header-list-append) (`Pragma`, `no-cache`) to httpRequest’s [header list](https://fetch.spec.whatwg.org/#concept-request-header-list). > 2) If httpRequest’s [header list](https://fetch.spec.whatwg.org/#concept-request-header-list) [does not contain](https://fetch.spec.whatwg.org/#header-list-contains) `Cache-Control`, then [append](https://fetch.spec.whatwg.org/#concept-header-list-append) (`Cache-Control`, `no-cache`) to httpRequest’s [header list](https://fetch.spec.whatwg.org/#concept-request-header-list). -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/722#issuecomment-1420264615 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/722/1420264615@github.com>
Received on Tuesday, 7 February 2023 06:30:02 UTC