Skip to content

Commit

Permalink
docs(server): remove extraneous references to HTTP/2 from HTTP/1 buil…
Browse files Browse the repository at this point in the history
…der docs

Refs: hyperium#3085
  • Loading branch information
Michael-J-Ward committed Dec 26, 2022
1 parent d375366 commit 1cefad6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/server/conn/http1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ impl Builder {
/// Set whether HTTP/1 connections will write header names as title case at
/// the socket level.
///
/// Note that this setting does not affect HTTP/2.
///
/// Default is false.
pub fn title_case_headers(&mut self, enabled: bool) -> &mut Self {
self.h1_title_case_headers = enabled;
Expand All @@ -258,8 +256,6 @@ impl Builder {
/// interact with the original cases. The only effect this can have now is
/// to forward the cases in a proxy-like fashion.
///
/// Note that this setting does not affect HTTP/2.
///
/// Default is false.
pub fn preserve_header_case(&mut self, enabled: bool) -> &mut Self {
self.h1_preserve_header_case = enabled;
Expand Down

0 comments on commit 1cefad6

Please sign in to comment.