Skip to content

Commit

Permalink
Define XMLHttpRequestBodyInit (BodyInit without ReadableStream)
Browse files Browse the repository at this point in the history
  • Loading branch information
gterzian authored Jun 2, 2020
1 parent 17723c6 commit 9ac2b5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fetch.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5480,7 +5480,9 @@ method, when invoked, must run these steps:
<h3 id=body-mixin>Body mixin</h3>

<pre class=idl>
typedef (Blob or BufferSource or FormData or URLSearchParams or ReadableStream or USVString) BodyInit;</pre>
typedef (Blob or BufferSource or FormData or URLSearchParams or USVString) XMLHttpRequestBodyInit;

typedef (ReadableStream or XMLHttpRequestBodyInit) BodyInit;</pre>

<p>To <dfn for=BodyInit export>safely extract</dfn> a <a for=/>body</a> and a
`<code>Content-Type</code>` <a for=header>value</a> from <var>object</var>, run these steps:
Expand Down Expand Up @@ -7173,6 +7175,7 @@ Gary Blackwood,
Gavin Carothers,
Glenn Maynard,
Graham Klyne,
Gregory Terzian,
Hal Lockhart,
Hallvord R. M. Steen,
Harris Hancock,
Expand Down

0 comments on commit 9ac2b5b

Please sign in to comment.