@@ -333,8 +333,6 @@ impl Builder {
333333 /// > of 400 (Bad Request). A proxy MUST remove any such whitespace from a
334334 /// > response message before forwarding the message downstream.
335335 ///
336- /// Note that this setting does not affect HTTP/2.
337- ///
338336 /// Default is false.
339337 ///
340338 /// [RFC 7230 Section 3.2.4.]: https://tools.ietf.org/html/rfc7230#section-3.2.4
@@ -376,8 +374,6 @@ impl Builder {
376374 /// > obs-fold with one or more SP octets prior to interpreting the field
377375 /// > value.
378376 ///
379- /// Note that this setting does not affect HTTP/2.
380- ///
381377 /// Default is false.
382378 ///
383379 /// [RFC 7230 Section 3.2.4.]: https://tools.ietf.org/html/rfc7230#section-3.2.4
@@ -396,8 +392,6 @@ impl Builder {
396392 /// name, or does not include a colon at all, the line will be silently ignored
397393 /// and no error will be reported.
398394 ///
399- /// Note that this setting does not affect HTTP/2.
400- ///
401395 /// Default is false.
402396 pub fn ignore_invalid_headers_in_responses ( & mut self , enabled : bool ) -> & mut Builder {
403397 self . h1_parser_config
@@ -425,8 +419,6 @@ impl Builder {
425419 /// Set whether HTTP/1 connections will write header names as title case at
426420 /// the socket level.
427421 ///
428- /// Note that this setting does not affect HTTP/2.
429- ///
430422 /// Default is false.
431423 pub fn title_case_headers ( & mut self , enabled : bool ) -> & mut Builder {
432424 self . h1_title_case_headers = enabled;
@@ -443,8 +435,6 @@ impl Builder {
443435 /// interact with the original cases. The only effect this can have now is
444436 /// to forward the cases in a proxy-like fashion.
445437 ///
446- /// Note that this setting does not affect HTTP/2.
447- ///
448438 /// Default is false.
449439 pub fn preserve_header_case ( & mut self , enabled : bool ) -> & mut Builder {
450440 self . h1_preserve_header_case = enabled;
@@ -457,8 +447,6 @@ impl Builder {
457447 /// ordering in a private extension on the `Response`. It will also look for and use
458448 /// such an extension in any provided `Request`.
459449 ///
460- /// Note that this setting does not affect HTTP/2.
461- ///
462450 /// Default is false.
463451 #[ cfg( feature = "ffi" ) ]
464452 pub fn preserve_header_order ( & mut self , enabled : bool ) -> & mut Builder {
0 commit comments