Add protocol version to response for client (#205)
This commit is contained in:
committed by
Carl Lerche
parent
0c67f7a390
commit
ecf2e425b4
@@ -479,6 +479,8 @@ impl proto::Peer for Peer {
|
|||||||
let stream_id = headers.stream_id();
|
let stream_id = headers.stream_id();
|
||||||
let (pseudo, fields) = headers.into_parts();
|
let (pseudo, fields) = headers.into_parts();
|
||||||
|
|
||||||
|
b.version(Version::HTTP_2);
|
||||||
|
|
||||||
if let Some(status) = pseudo.status {
|
if let Some(status) = pseudo.status {
|
||||||
b.status(status);
|
b.status(status);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user