Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Use HTTP rather than ASCII whitespace #90
Per #42 (comment)
Because of that I think we should use HTTP whitespace here and not HTTP tab or space. Implementations that don't share their MIME type parser across the code base could have slightly more restrictive code in contexts where newlines by definitions cannot show up.
Note to self: need to add HTTP whitespace (a code point based version) to Fetch.
I updated the tests to also test HTTP newlines (as per above) and created whatwg/fetch#828 to define HTTP whitespace in Fetch for this kind of usage (and added a note that hopefully dissuades others from using it unless they have an eerily similar data structure).