lib/http/protocol/http2/stream.rb in http-protocol-0.1.1 vs lib/http/protocol/http2/stream.rb in http-protocol-0.2.0
- old
+ new
@@ -120,10 +120,10 @@
def send_failure(status, reason)
if send_headers?
send_headers(nil, [
[':status', status.to_s],
- [':reason', reason]
+ ['reason', reason]
], END_STREAM)
else
send_reset_stream(PROTOCOL_ERROR)
end
end