- From: Philip Jägenstedt <notifications@github.com>
- Date: Thu, 07 Sep 2017 14:35:44 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 7 September 2017 14:36:17 UTC
foolip 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 Is that not just because of the above issue about percent decoding the media type? When it comes to whitespace, is there an ideal behavior that we should try to do, or should we just look for what's most web compatible? -- 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_r137556724
Received on Thursday, 7 September 2017 14:36:17 UTC