We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
allow_multiple_spaces_in_request_line_delimiters
1 parent caa166c commit 9749184Copy full SHA for 9749184
src/server/conn/http1.rs
@@ -276,6 +276,13 @@ impl Builder {
276
self
277
}
278
279
+ /// Set whether multiple spaces are allowed as delimiters in request lines.
280
+ pub fn allow_multiple_spaces_in_request_line_delimiters(&mut self, enabled: bool) -> &mut Self {
281
+ self.h1_parser_config
282
+ .allow_multiple_spaces_in_request_line_delimiters(enabled);
283
+ self
284
+ }
285
+
286
/// Set whether HTTP/1 connections will silently ignored malformed header lines.
287
///
288
/// If this is enabled and a header line does not start with a valid header
0 commit comments