Re: [whatwg/fetch] Uploading a Request made from a ReadableStream body (#425)

annevk commented on this pull request.



> @@ -3089,6 +3122,11 @@ steps:
   a body, have a bounded size and are not allowed to stay alive indefinitely.
 
 
+ <li><p>If <var>httpRequest</var>'s <a for=request>body</a> is non-null and <var>httpRequest</var>'s
+ <a for=request>body</a>'s <a for=request>source</a> is null, then <a for="header list">append</a>
+ `<code>Transfer-Encoding</code>`/`<code>chunked</code>` to <var>httpRequest</var>'s
+ <a for=request>header list</a>.

We should probably do this after the connection is established since we shouldn't do this over an HTTP/2 connection per https://tools.ietf.org/html/rfc7540#section-8.1.

-- 
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/425#pullrequestreview-15920276

Received on Tuesday, 10 January 2017 14:05:34 UTC