@@ -2772,9 +2772,13 @@ <h3 id="basic-fetch"><span class="secno">5.2 </span>Basic fetch</h3>
27722772 < a href ="#concept-request-current-url " title ="concept-request-current-url "> current url</ a > 's
27732773 < a class ="external " data-anolis-spec ="url " href ="https://url.spec.whatwg.org/#concept-url-object " title ="concept-url-object "> object</ a > .
27742774
2775- < li > < p > If < var > request</ var > 's < a href ="#concept-request-method " title ="concept-request-method "> method</ a > is < em > not</ em >
2776- `< code title =""> GET</ code > ` or < var > blob</ var > is null, return a
2777- < a href ="#concept-network-error " title ="concept-network-error "> network error</ a > .
2775+ < li >
2776+ < p > If < var > request</ var > 's < a href ="#concept-request-method " title ="concept-request-method "> method</ a > is not
2777+ `< code > GET</ code > ` or < var > blob</ var > is null, then return a
2778+ < a href ="#concept-network-error " title ="concept-network-error "> network error</ a > .
2779+
2780+ < p class ="note "> The `< code > GET</ code > ` < a href ="#concept-method " title ="concept-method "> method</ a > restriction
2781+ serves no useful purpose other than being interoperable.
27782782
27792783 < li > < p > Let < var > response</ var > be a new
27802784 < a href ="#concept-response " title ="concept-response "> response</ a > .
@@ -2806,16 +2810,14 @@ <h3 id="basic-fetch"><span class="secno">5.2 </span>Basic fetch</h3>
28062810
28072811 < dt > "< code title =""> data</ code > "
28082812 < dd >
2809- < p > If < var > request</ var > 's < a href ="#concept-request-method " title ="concept-request-method "> method</ a > is
2810- `< code title =""> GET</ code > ` and
2811- < a href ="https://simonsapin.github.io/data-urls/ "> obtaining a resource</ a > from
2812- < var > request</ var > 's < a href ="#concept-request-current-url " title ="concept-request-current-url "> current url</ a >
2813- does not return failure, return a < a href ="#concept-response " title ="concept-response "> response</ a > whose
2813+ < p > If < a href ="https://simonsapin.github.io/data-urls/ "> obtaining a resource</ a > from
2814+ < var > request</ var > 's < a href ="#concept-request-current-url " title ="concept-request-current-url "> current url</ a > does not return
2815+ failure, then return a < a href ="#concept-response " title ="concept-response "> response</ a > whose
28142816 < a href ="#concept-response-header-list " title ="concept-response-header-list "> header list</ a > consist of a single
2815- < a href ="#concept-header " title ="concept-header "> header</ a > whose
2816- < a href ="#concept-header-name " title ="concept-header-name " > name </ a > is ` < code title ="" > Content-Type </ code > ` and
2817- < a href =" #concept-header-value " title =" concept-header-value " > value </ a > is the MIME type and parameters returned
2818- from < a href ="https://simonsapin.github.io/data-urls/ "> obtaining a resource</ a > ,
2817+ < a href ="#concept-header " title ="concept-header "> header</ a > whose < a href =" #concept-header-name " title =" concept-header-name " > name </ a > is
2818+ ` < code title ="" > Content-Type </ code > ` and < a href ="#concept-header-value " title ="concept-header-value " > value </ a > is the
2819+ MIME type and parameters returned from
2820+ < a href ="https://simonsapin.github.io/data-urls/ "> obtaining a resource</ a > ,
28192821 < a href ="#concept-response-body " title ="concept-response-body "> body</ a > is the data returned from
28202822 < a href ="https://simonsapin.github.io/data-urls/ "> obtaining a resource</ a > , and
28212823 < a href ="#concept-response-https-state " title ="concept-response-https-state "> HTTPS state</ a > is < var > request</ var > 's
0 commit comments