Re: [whatwg/fetch] Proposal: add a boolean property `notModified` to `Response` (Issue #1440)

@annevk Sorry for duplication.

> Note that if you keep the ETag information around you can make your own conditional requests and then you will actually get a 304 and not a 200 back.

Thanks for your kindly advice. A fetch with conditional request header will get a 304 status code. However, it is not wise to save the ETag or last modified time manually by developer, as the browser has stored them. So it do really make sense to exposed by the Response object.

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

Message ID: <whatwg/fetch/issues/1440/1127356884@github.com>

Received on Monday, 16 May 2022 08:04:57 UTC