Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTP whitespace back for MIME types #828

Merged
merged 4 commits into from Nov 12, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions fetch.bs
Expand Up @@ -241,9 +241,9 @@ means (e.g., <code>data</code> URLs).
<p><dfn export>HTTP whitespace</dfn> is U+000A LF, U+000D CR, or a <a>HTTP tab or space</a>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

 <p><dfn export>HTTP whitespace</dfn> is U+000A LF, U+000D CR, or a <a>HTTP tab or space</a>. 

Should be “an <a>HTTP tab or space</a>


<p class="note no-backref"><a>HTTP whitespace</a> is only useful for specific constructs that are
reused outside the context of HTTP headers (e.g., <a>MIME types</a>). For HTTP header values using
<a>HTTP tab or space</a> is preferred and outside that context <a>ASCII whitespace</a> is preferred.
Unlike <a>ASCII whitespace</a> this excludes U+000C FF.
reused outside the context of HTTP headers (e.g., <a for=/>MIME types</a>). For HTTP header values
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

… For HTTP header values

should be “… For HTTP header values,” [add comma]

using <a>HTTP tab or space</a> is preferred and outside that context <a>ASCII whitespace</a> is
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using <a>HTTP tab or space</a> is preferred and outside…

“using HTTP tab or space is preferred, and outside…” [add comma]

preferred. Unlike <a>ASCII whitespace</a> this excludes U+000C FF.

<p>An <dfn export>HTTP newline byte</dfn> is 0x0A (LF) or 0x0D (CR).

Expand Down