-
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
Clarify :path format #768
Comments
It seems pretty clear to me; |
Would it be correct to say that: HTTP/1.1 not via a proxy (preferred):
HTTP/1.1 via proxy or not (due to RFC 7230 Section 5.3.2: "To allow for transition to the absolute-form for all requests in some future version of HTTP, a server MUST accept the absolute-form in requests, even though HTTP/1.1 clients will only send them in requests to proxies."):
HTTP/2 either via a proxy or not:
i.e. HTTP/1.1 message request serialization needs to know if it's going via a proxy or not as part of message construction (at least if you want to use the preferred form?)? Whereas HTTP/2 headers are invariant upon use of proxy or not? |
I think so. |
The Host header field in HTTP/2 is only for translation cases. If you get
You would forward as:
But if you get the unlikely:
Then you would forward as:
That was the reasoning behind the change. In practice, if |
Which change is that? Is there any other situation that host should be sent? Should the host header be sent in http2 even when it matches |
I should have said "design", not "change". Whether you send the host header field depends on whether you are forwarding a request or originating one. No sense in setting it unless you are copying from another request. |
Cleaning up old issues. |
Is a HTTP2
:path
allowed to contain a target of 'absolute-form'?What should the
:path
(and:authority
) contain if making a request through a HTTP2 proxy?From HTTP1.1 spec:
From HTTP2 spec:
Related:
The text was updated successfully, but these errors were encountered: