Re: [whatwg/fetch] Disallow streaming upload on HTTP/1.1 connections (PR #1444)

@yutakahirano commented on this pull request.



> @@ -5434,11 +5434,9 @@ optional boolean <var>forceNewConnection</var> (default false), run these steps:
    <a for="fetch timing info">post-redirect start time</a>, and <var>fetchParams</var>'s
    <a for="fetch params">cross-origin isolated capability</a>.
 
-   <li><p>If <var>connection</var> is not an HTTP/2 connection, <var>request</var>'s
-   <a for=request>body</a> is non-null, and <var>request</var>'s <a for=request>body</a>'s
-   <a for=body>source</a> is null, then <a for="header list">append</a>
-   (`<code>Transfer-Encoding</code>`, `<code>chunked</code>`) to <var>request</var>'s
-   <a for=request>header list</a>.
+   <li><p>If <var>connection</var> is an HTTP/1.x connection, <var>request</var>'s

No user agent initiates an HTTP/0.9 session I believe. We need to take care of the case where a server speaks HTTP/0.9, but this is before sending a request.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1444#discussion_r886923615
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1444/review/992141464@github.com>

Received on Wednesday, 1 June 2022 15:09:20 UTC