-
Notifications
You must be signed in to change notification settings - Fork 42
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
Whitespace is not removed from field values in HTTP/2 or HTTP/3 #697
Comments
|
"could be removed" or "can be removed" seems accurate. That said, isn't this a potential future interop problem? Shouldn't HTTP/2 and HTTP/3 mandate removal as well? |
|
I think the question here is when it's removed. My understanding is that it is removed for the purposes of matching ABNF, and it's removed when the value is used, but it's not necessarily removed automatically when an implementation hands a value to an application. |
|
But if the WS is not removed before the value is passed to the application, it might not be removed at all. What do HTTP/2 implementations do here? |
|
Discussed in Feb 21 interim; need to focus on interpretation of field, not e.g., forwarding. Should be a requirement. |
|
It would have nice if it was an error to have leading/trailing field value whitespace in newer HTTP versions. Probably too late now, though perhaps not for H/3? |
This claim in Section 5.5 is likely incorrect:
Does it need qualification (in some versions) or permission (could be removed)?
The text was updated successfully, but these errors were encountered: