- From: Ilya Grigorik <notifications@github.com>
- Date: Mon, 03 Oct 2016 09:08:25 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Monday, 3 October 2016 16:09:04 UTC
That's true. Well, I guess the other approach we have here is: - Keep the existing logic to throw TypeError if body is a ReadableStream. - Add **new** step in `HTTP-network-or-cache fetch` after we obtain `contentLengthValue`, which checks that the size is less than the ~UA-set size for requests with keepalive flag set. If the condition doesn't hold, return a network error. ~section 5.5, step 7: > If `contentLengthValue` is non-null, the `httpRequest`'s keepalive flag is set, and `contentLengthValue` is greater than the UA-set maximum body size for such requests, return a network error. WDYT? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/388#issuecomment-251149105
Received on Monday, 3 October 2016 16:09:04 UTC