@@ -261,7 +261,7 @@ impl Builder {
261261
262262 /// Enables or disables HTTP/1 keep-alive.
263263 ///
264- /// Default is true.
264+ /// Default is ` true` .
265265 pub fn keep_alive ( & mut self , val : bool ) -> & mut Self {
266266 self . h1_keep_alive = val;
267267 self
@@ -270,13 +270,15 @@ impl Builder {
270270 /// Set whether HTTP/1 connections will write header names as title case at
271271 /// the socket level.
272272 ///
273- /// Default is false.
273+ /// Default is ` false` .
274274 pub fn title_case_headers ( & mut self , enabled : bool ) -> & mut Self {
275275 self . h1_title_case_headers = enabled;
276276 self
277277 }
278278
279279 /// Set whether multiple spaces are allowed as delimiters in request lines.
280+ ///
281+ /// Default is `false`.
280282 pub fn allow_multiple_spaces_in_request_line_delimiters ( & mut self , enabled : bool ) -> & mut Self {
281283 self . h1_parser_config
282284 . allow_multiple_spaces_in_request_line_delimiters ( enabled) ;
@@ -289,7 +291,7 @@ impl Builder {
289291 /// name, or does not include a colon at all, the line will be silently ignored
290292 /// and no error will be reported.
291293 ///
292- /// Default is false.
294+ /// Default is ` false` .
293295 pub fn ignore_invalid_headers ( & mut self , enabled : bool ) -> & mut Builder {
294296 self . h1_parser_config
295297 . ignore_invalid_headers_in_requests ( enabled) ;
@@ -306,7 +308,7 @@ impl Builder {
306308 /// interact with the original cases. The only effect this can have now is
307309 /// to forward the cases in a proxy-like fashion.
308310 ///
309- /// Default is false.
311+ /// Default is ` false` .
310312 pub fn preserve_header_case ( & mut self , enabled : bool ) -> & mut Self {
311313 self . h1_preserve_header_case = enabled;
312314 self
@@ -381,7 +383,7 @@ impl Builder {
381383 ///
382384 /// Note that including the `date` header is recommended by RFC 7231.
383385 ///
384- /// Default is true.
386+ /// Default is ` true` .
385387 pub fn auto_date_header ( & mut self , enabled : bool ) -> & mut Self {
386388 self . date_header = enabled;
387389 self
@@ -391,7 +393,7 @@ impl Builder {
391393 ///
392394 /// Experimental, may have bugs.
393395 ///
394- /// Default is false.
396+ /// Default is ` false` .
395397 pub fn pipeline_flush ( & mut self , enabled : bool ) -> & mut Self {
396398 self . pipeline_flush = enabled;
397399 self
0 commit comments