Open JonathanHenson opened 7 years ago
Did you set the :method
and :scheme
headers in the push promise?
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.
Example:
-> HEADERS(1)
Stream: RemainingSendFlowControlWindowIsEnough(58): 65535 > 58 = true -> DATA(1)
<- PUSH_PROMISE(1)
-> RST_STREAM(2) Error code: REFUSED_STREAM
<- HEADERS(2)
<- DATA(2)
Any thoughts on what's going on here?