Re: [whatwg/fetch] Request with GET/HEAD method cannot have body. (#551)

> Legacy code assuming get requests use no body, would not use body in their get requests. So how is supporting body for get requests going to break legacy code?

Their reasonning is that some caching systems could cache the response ignoring the body when making an identifier rather than a using a hash of the full request with the body too. And they consider that to be enough to then edit the fetch() standard to forbid a body with HEAD/GET.

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

Message ID: <whatwg/fetch/issues/551/1762250917@github.com>

Received on Friday, 13 October 2023 21:33:27 UTC