@@ -5587,9 +5587,12 @@ HTML, will likely not be exposed here. Rather, an HTML parser API might accept a
5587
5587
due course.
5588
5588
<!-- https://lists.w3.org/Archives/Public/public-whatwg-archive/2014Jun/thread.html#msg72 -->
5589
5589
5590
- <p> Objects implementing the {{Body}} mixin gain an associated
5591
- <dfn id=concept-body-body for=Body>body</dfn> (null or a <a for=/>body</a> ) and
5592
- a <dfn id=concept-body-mime-type for=Body>MIME type</dfn> (failure or a <a for=/>MIME type</a> ).
5590
+ <p> Objects implementing the {{Body}} mixin need to define an associated
5591
+ <dfn id=concept-body-mime-type for=Body>MIME type</dfn> algorithm which takes no arguments and
5592
+ returns failure or a <a for=/>MIME type</a> .
5593
+
5594
+ <p> Objects implementing the {{Body}} mixin have an associated
5595
+ <dfn id=concept-body-body for=Body>body</dfn> (null or a <a for=/>body</a> ).
5593
5596
5594
5597
<p> An object implementing the {{Body}} mixin is said to be
5595
5598
<dfn export id=concept-body-disturbed for=Body>disturbed</dfn> if its <a for=Body>body</a> is
@@ -5805,6 +5808,10 @@ omitted from <a enum><code>RequestMode</code></a> as it cannot be used nor obser
5805
5808
<p> A {{Request}} object has an associated <dfn for=Request>signal</dfn> (an {{AbortSignal}} object),
5806
5809
initially a new {{AbortSignal}} object.
5807
5810
5811
+ <p> A {{Request}} object's <a for=Body>MIME type</a> is to return the result of
5812
+ <a for="header list">extracting a MIME type</a> from its <a for=Request>request</a> 's
5813
+ <a for=request>header list</a> .
5814
+
5808
5815
<p> A {{Request}} object's <a for=Body>body</a> is its
5809
5816
<a for=Request>request</a> 's
5810
5817
<a for=request>body</a> .
@@ -6278,10 +6285,6 @@ constructor steps are:
6278
6285
<var> inputBody</var> .
6279
6286
6280
6287
<li><p> Set <a>this</a> 's <a for=Request>request</a>' s <a for=request>body</a> to <var> body</var> .
6281
-
6282
- <li><p> Set <a>this</a> 's <a for=Body>MIME type</a> to the result of
6283
- <a for="header list">extracting a MIME type</a> from <a>this</a> 's <a for=Request>request</a>' s
6284
- <a for=request>header list</a> .
6285
6288
</ol>
6286
6289
6287
6290
<p> The <dfn attribute for=Request><code>method</code></dfn> getter steps are to return <a>this</a> 's
@@ -6414,6 +6417,10 @@ enum ResponseType { "basic", "cors", "default", "error", "opaque", "opaqueredire
6414
6417
<p> A {{Response}} object also has an associated <dfn for=Response export>headers</dfn> (null or a
6415
6418
{{Headers}} object), initially null.
6416
6419
6420
+ <p> A {{Response}} object's <a for=Body>MIME type</a> is to return the result of
6421
+ <a for="header list">extracting a MIME type</a> from its <a for=Response>response</a> 's
6422
+ <a for=response>header list</a> .
6423
+
6417
6424
<p> A {{Response}} object's <a for=Body>body</a> is its
6418
6425
<a for=Response>response</a> 's <a for=response>body</a> .
6419
6426
@@ -6466,10 +6473,6 @@ constructor steps are:
6466
6473
`<code> Content-Type</code> `/<var> Content-Type</var> to <a>this</a> 's
6467
6474
<a for=Response>response</a> 's <a for=response>header list</a> .
6468
6475
</ol>
6469
-
6470
- <li><p> Set <a>this</a> 's <a for=Body>MIME type</a> to the result of
6471
- <a for="header list">extracting a MIME type</a> from <a>this</a> 's <a for=Response>response</a>' s
6472
- <a for=response>header list</a> .
6473
6476
</ol>
6474
6477
6475
6478
<p> The static <dfn method for=Response><code>error()</code></dfn> method steps are:
0 commit comments