Re: [whatwg/fetch] Define data: URLs (#579)

SimonSapin commented on this pull request.



> +  "<code>;base64</code>", then:
+
+  <ol>
+   <li><p>Let <var>stringBody</var> be the <a>isomorphic decode</a> of <var>body</var>.
+
+   <li><p>Set <var>body</var> to the <a>forgiving-base64 decode</a> of <var>stringBody</var>.
+
+   <li><p>If <var>body</var> is failure, then return failure.
+
+   <li><p>Remove the last 7 code points from <var>mimeType</var>.
+  </ol>
+
+ <li><p>If <var>mimeType</var> starts with "<code>;</code>", then prepend "<code>text/plain</code>"
+ to <var>mimeType</var>.
+
+ <li><p>Let <var>mimeTypeRecord</var> be the result of <a lt="parse a MIME type">parsing</a>

`<a lt="parse a MIME type">parsing</a>` is not a link in https://whatpr.org/fetch/579.html#data-url-struct-mime-type

-- 
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/579#pullrequestreview-81858547

Received on Thursday, 7 December 2017 13:56:52 UTC