- From: Anne van Kesteren <notifications@github.com>
- Date: Thu, 04 Jan 2018 12:13:30 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 4 January 2018 12:13:54 UTC
annevk commented on this pull request. > + <li><p>Let <var>mimeType</var> be the result of <a>collecting a sequence of code points</a> that + are not equal to U+002C (,), given <var>position</var>. + + <li><p><a>Strip leading and trailing ASCII whitespace</a> from <var>mimeType</var>. + + <li><p>If <var>position</var> is past the end of <var>input</var>, then return failure. + + <li><p>Advance <var>position</var> by 1. + + <li><p>Let <var>encodedBody</var> be the remainder of <var>input</var>. + + <li><p>Let <var>body</var> be the <a>string percent decoding</a> of <var>encodedBody</var>. + + <li> + <p>If <var>mimeType</var> ends with an <a>ASCII case-insensitive</a> match for + "<code>;base64</code>", then: I could add examples I suppose suggesting it would match `text/html ;base64` but not `text/html; base64`? -- 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_r159639021
Received on Thursday, 4 January 2018 12:13:54 UTC