- From: Anne van Kesteren <notifications@github.com>
- Date: Wed, 14 Nov 2018 03:25:45 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 14 November 2018 11:26:06 UTC
@MattMenke2 I created an algorithm for collecting an HTTP quoted string based on the MIME type parser (and also created https://github.com/whatwg/mimesniff/pull/92 to use it there). It's a little ugly as here we care about moving the position only whereas in the MIME type parser we also care about extracting a value, but this seemed like a reasonable compromise that would not lead to code duplication. (I'd be open to changing the algorithm to take a boolean to return one or the other value in the end, rather than both.) -- 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/831#issuecomment-438630044
Received on Wednesday, 14 November 2018 11:26:06 UTC