-
Notifications
You must be signed in to change notification settings - Fork 15
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
Translate Host -> :authority #9
Comments
I was investigating this earlier and tried to set my own |
Yeah, the spec doesn't allow any pseudo-headers.
This is probably why they chose to use colon for psuedo-headers, simply because they aren't legal real headers. Converting |
It's definitely replacing it @grantila https://github.com/curl/curl/blob/544bfdebea2a9e8be1c01fc7954cd49638fe2803/lib/http2.c#L1888-L1896 |
Great digging, Sherlock. |
Released in 0.0.12 |
curl does this thing where, when you use http2, it'll translate the Host header to the :authority pseudo-header.
Is that something
fetch-h2
should be doing too before making a request?The text was updated successfully, but these errors were encountered: