- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 30 Aug 2017 15:27:51 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 30 August 2017 15:28:16 UTC
annevk commented on this pull request. > + <li><p>Let <var>encodedBody</var> be the remainder of <var>input</var>. + + <li><p>Let <var>mimeTypeBytes</var> be the <a>string percent decoding</a> of + <var>encodedMimeType</var>. + <!-- Note: implementations leave the percent-encoded bits around. That strikes me as rather broken, + but it might be due to web compatibility? --> + + <li><p>Let <var>mimeType</var> be the <a>isomorphic decode</a> of <var>mimeTypeBytes</var>. + + <li><p><a>Strip leading and trailing ASCII whitespace</a> from <var>mimeType</var>. + + <li><p>Let <var>body</var> be the <a>string percent decoding</a> of <var>encodedBody</var>. + + <li> + <p>If <var>mimeType</var> contains an <a>ASCII case-insensitive</a> match for + "<code>;base64;</code>" or ends with an <a>ASCII case-insensitive</a> match for The silly thing is that `data:text/html%20;%20base64%20;,YW5uZXZr` doesn't work, but I also cannot get that to work in other browsers (tested Firefox and Safari). -- 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#discussion_r136103622
Received on Wednesday, 30 August 2017 15:28:16 UTC