-
Notifications
You must be signed in to change notification settings - Fork 565
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
Hop-by-Hop Headers #21
Comments
Discussed at SF Interim; mnot to dig in and ascertain whether there's an issue here. |
Trailers are addressed in layering branch. They are always allowed without TE but are optional. Whether a receiver is required to pay attention to them is an open question. |
Current text:
Replacement text:
|
Note that this doesn't allow a client to state that they will honour trailers, meaning that the ONLY option for trailers in HTTP/2 would be that they're completely optional. If we're going to stay with that, we need to explicitly document the loss of capability. Other option would be to allow TE but only with the value "trailers". However, that'd need to be deleted as a hop-by-hop header. Personally, I think I'm OK losing the capability. YMMV. |
Regarding TE:Trailers, I agree. However, I would like to understand the rationale for the SHOULD over MUST? Does this just come down to an allowance for lazy intermediaries? If so, why not use the "MUST NOT ..., unless ..." form? (You could have generated a pull request in the same amount of time, you know.) |
Well, strictly if those headers are present but not in Connection, the message is non-conformant -- this is just asking intermediaries to do the friendly thing. Upon some reflection, I think we can special-case TE: trailers without requiring intermediaries to delete it; I think all bases are covered:
So, I'm going to do a pull request, with language to that effect. |
refine approach to hop-by-hop headers; addresses #21.
In http/1.x, trailers are negotiated for with hop-by-hop headers (and, therefore, semantics). Should this continue in HTTP/2.x?
Without TE: Trailers, we could effectively get rid of hop-by-hop headers in HTTP/2. E.g., the Connection header could be forced to be dropped, and not forced to be processed. All semantics of hop-by-hop headers are forced into the framing layer.
The text was updated successfully, but these errors were encountered: