Re: [whatwg/fetch] non-null body with GET/HEAD requests (Issue #1705)

> we will allow receiving a GET with a content-length: 0

To clarify, it's more than that. Cloudflare Workers today supports receiving and proxying GET requests with bodies of any size, not just zero size. We had to, because these requests exist in the wild, and it's a basic requirement of our product that it can proxy any kind of request actually seen in the wild.

We still don't allow such requests to be constructed from scratch in JavaScript, but because they can arrive off the network, it creates some awkward situations where people have a Request object that's actually impossible to reproduce from its component parts.

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

Message ID: <whatwg/fetch/issues/1705/1736233335@github.com>

Received on Tuesday, 26 September 2023 20:19:23 UTC