Re: [whatwg/fetch] Add examples for collect an HTTP quoted string (#1069)

@domenic approved this pull request.

Very nice.

> @@ -307,9 +307,30 @@ and optionally an <var>extract-value flag</var>, run these steps:
  inclusive, within <var>input</var>.
 </ol>
 
-<p class="note no-backref">The <var>extract-value flag</var> argument makes this algorithm suitable
-for <a for="header list">getting, decoding, and splitting</a> and <a>parse a MIME type</a>, as well
-as other header value parsers that might need this.
+<div class=example id=example-http-quoted-string>
+ <table>
+  <tr>
+   <th>Input
+   <th>Final position (always starts at 0)

```suggestion
   <th>Final position (start position is always 0)
```

> @@ -307,9 +307,30 @@ and optionally an <var>extract-value flag</var>, run these steps:
  inclusive, within <var>input</var>.
 </ol>
 
-<p class="note no-backref">The <var>extract-value flag</var> argument makes this algorithm suitable
-for <a for="header list">getting, decoding, and splitting</a> and <a>parse a MIME type</a>, as well
-as other header value parsers that might need this.
+<div class=example id=example-http-quoted-string>
+ <table>
+  <tr>
+   <th>Input
+   <th>Final position (always starts at 0)

Although it might be better to just delete this column... it's not an output of the algorithm, and it's not clear to me what it's helping to illustrate.

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

Received on Thursday, 6 August 2020 14:26:20 UTC