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 neither an HTTP/2 nor an HTTP/3 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 return a <a>network error</a>.

Done.

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

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

Received on Wednesday, 1 June 2022 05:21:24 UTC