Re: [whatwg/fetch] [Question] What is the expected behavior for reusing the Request body in a HTTP redirect fetch (status code 307 / 308)? (Issue #1662)

> The behavior you quote above is what happens for request body streams. And we do that because they cannot be replayed without storing the whole request body in memory, which is something we decided against doing as that would have negative performance implications in the common case.

> request’s [body](https://fetch.spec.whatwg.org/#concept-request-body) is non-null

In real use cases, can this **body** be some stateless data such as strings, `ArrayBuffer`s or `Blob`s? If yes, does the same logic and decision still make sense?

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

Message ID: <whatwg/fetch/issues/1662/1564107126@github.com>

Received on Friday, 26 May 2023 09:37:23 UTC