We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example:
-> HEADERS(1) - END_STREAM + END_HEADERS :method: POST :scheme: https :authority: localhost:8443 :path: / content-type: application/json content-length: 58
Stream: RemainingSendFlowControlWindowIsEnough(58): 65535 > 58 = true -> DATA(1) + END_STREAM {58 bytes}
<- PUSH_PROMISE(1) + END_HEADERS Promised Stream Id: 2 :authority: localhost:8443 :path: /
-> RST_STREAM(2) Error code: REFUSED_STREAM
<- HEADERS(2) - END_STREAM + END_HEADERS :status: 400
<- DATA(2) + END_STREAM {73 bytes}
Any thoughts on what's going on here?
The text was updated successfully, but these errors were encountered:
Did you set the :method and :scheme headers in the push promise?
:method
:scheme
Sorry, something went wrong.
i set method originally, but not scheme.
will try in the morning. Do you have a ref to the part of the spec that details what needs to be set in the promise?
im using this to test an http2 implementation because In too lazy to write a client while Im writing the server.
The push promise should contain the same headers that would normally be present in a request.
No branches or pull requests
Example:
-> HEADERS(1)
- END_STREAM
+ END_HEADERS
:method: POST
:scheme: https
:authority: localhost:8443
:path: /
content-type: application/json
content-length: 58
Stream: RemainingSendFlowControlWindowIsEnough(58): 65535 > 58 = true
-> DATA(1)
+ END_STREAM
{58 bytes}
<- PUSH_PROMISE(1)
+ END_HEADERS
Promised Stream Id: 2
:authority: localhost:8443
:path: /
-> RST_STREAM(2)
Error code: REFUSED_STREAM
<- HEADERS(2)
- END_STREAM
+ END_HEADERS
:status: 400
<- DATA(2)
+ END_STREAM
{73 bytes}
Any thoughts on what's going on here?
The text was updated successfully, but these errors were encountered: