fix(http1): http1_title_case_headers should move Builder
This commit is contained in:
@@ -239,7 +239,7 @@ impl<I, E> Builder<I, E> {
|
|||||||
/// Default is false.
|
/// Default is false.
|
||||||
#[cfg(feature = "http1")]
|
#[cfg(feature = "http1")]
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "http1")))]
|
#[cfg_attr(docsrs, doc(cfg(feature = "http1")))]
|
||||||
pub fn http1_title_case_headers(&mut self, val: bool) -> &mut Self {
|
pub fn http1_title_case_headers(mut self, val: bool) -> Self {
|
||||||
self.protocol.http1_title_case_headers(val);
|
self.protocol.http1_title_case_headers(val);
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user