-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Co-authored-by: soloio-bot <[email protected]>
- Loading branch information
1 parent
c7bc65f
commit ed15809
Showing
7 changed files
with
1,232 additions
and
931 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
api/gloo/gloo/v1/options/header_validation/header_validation.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
syntax = "proto3"; | ||
package header_validation.options.gloo.solo.io; | ||
|
||
import "google/protobuf/empty.proto"; | ||
|
||
option go_package = "github.com/solo-io/solo-apis/pkg/api/gloo.solo.io/v1/options/header_validation"; | ||
|
||
message HeaderValidationSettings { | ||
// How header methods will be validated. By default, Envoy will | ||
// validate HTTP methods for HTTP/1 connections against the default set of allowed methods. | ||
// The default allowed methods can be found here: | ||
// https://github.com/envoyproxy/envoy/blob/2970ddbd4ade787dd51dfbe605ae2e8c5d8ffcf7/source/common/http/http1/balsa_parser.cc#L54 | ||
// or here, if Universal Header Validation is enabled: | ||
// https://github.com/envoyproxy/envoy/blob/0b9f67e7f71bcba3ff49575dc61676478cb68614/source/extensions/http/header_validators/envoy_default/header_validator.cc#L53 | ||
// Invalid methods on HTTP/1 requests will be rejected with a HTTP 400 | ||
// response. | ||
// For HTTP/2, Envoy does not validate header methods by default. | ||
oneof header_method_validation { | ||
// Disable method validation. Envoy will not perform any validation on | ||
// the method provided in the HTTP header. | ||
google.protobuf.Empty disable_http1_method_validation = 1; | ||
} | ||
} | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.