From eed0bbdeddd9eff1759d0d4bcdc50c2d7495d147 Mon Sep 17 00:00:00 2001 From: Michael-J-Ward Date: Mon, 26 Dec 2022 10:40:46 -0600 Subject: [PATCH] docs(server): remove extraneous references to HTTP/2 from HTTP/1 builder docs Refs: #3085 --- src/server/conn/http1.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/server/conn/http1.rs b/src/server/conn/http1.rs index c8a1653fb0..f7c35e2419 100644 --- a/src/server/conn/http1.rs +++ b/src/server/conn/http1.rs @@ -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; @@ -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;