feat(http2): set Content-Length header on outgoing messages
Closes #1547
This commit is contained in:
committed by
Sean McArthur
parent
f20afba57d
commit
386fc0d70b
@@ -166,6 +166,29 @@ t! {
|
||||
;
|
||||
}
|
||||
|
||||
t! {
|
||||
post_outgoing_length,
|
||||
client:
|
||||
request:
|
||||
method: "POST",
|
||||
uri: "/hello",
|
||||
body: "hello, world!",
|
||||
;
|
||||
response:
|
||||
;
|
||||
server:
|
||||
request:
|
||||
method: "POST",
|
||||
uri: "/hello",
|
||||
headers: {
|
||||
"content-length" => "13",
|
||||
},
|
||||
body: "hello, world!",
|
||||
;
|
||||
response:
|
||||
;
|
||||
}
|
||||
|
||||
t! {
|
||||
post_chunked,
|
||||
client:
|
||||
|
||||
Reference in New Issue
Block a user