feat(client): add support for title case header names (#1497)
This introduces support for the HTTP/1 Client to write header names as title case when encoding the request. Closes #1492
This commit is contained in:
committed by
Sean McArthur
parent
2cd46664d5
commit
a02fec8c78
@@ -72,6 +72,7 @@ pub(crate) trait Http1Transaction {
|
||||
head: MessageHead<Self::Outgoing>,
|
||||
body: Option<BodyLength>,
|
||||
method: &mut Option<Method>,
|
||||
title_case_headers: bool,
|
||||
dst: &mut Vec<u8>,
|
||||
) -> ::Result<h1::Encoder>;
|
||||
fn on_error(err: &::Error) -> Option<MessageHead<Self::Outgoing>>;
|
||||
|
||||
Reference in New Issue
Block a user