Skip to content

Commit

Permalink
BUG/MINOR: add h1-accept-payload-with-any-method and h1-do-not-close-…
Browse files Browse the repository at this point in the history
…on-insecure-transfer-encoding to global
  • Loading branch information
hdurand0710 committed Aug 27, 2024
1 parent 1550d1f commit 2b1ad86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions section-parsers.go
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ func (p *configParser) getGlobalParser() *Parsers { //nolint: maintidx
addParser(parser, &sequence, &simple.Enabled{Name: "quiet"})
addParser(parser, &sequence, &simple.Enabled{Name: "zero-warning"})
addParser(parser, &sequence, &simple.Word{Name: "setcap"})
addParser(parser, &sequence, &simple.Enabled{Name: "h1-accept-payload-with-any-method"})
addParser(parser, &sequence, &simple.Enabled{Name: "h1-do-not-close-on-insecure-transfer-encoding"})
// the ConfigSnippet must be at the end to parsers load order to ensure
// the overloading of any option has been declared previously
addParser(parser, &sequence, &parsers.ConfigSnippet{})
Expand Down

0 comments on commit 2b1ad86

Please sign in to comment.