Documentation ¶
Index ¶
- Variables
- type HeaderValidationSettings
- func (*HeaderValidationSettings) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderValidationSettings) GetDisableHttp1MethodValidation() *emptypb.Empty
- func (m *HeaderValidationSettings) GetHeaderMethodValidation() isHeaderValidationSettings_HeaderMethodValidation
- func (*HeaderValidationSettings) ProtoMessage()
- func (x *HeaderValidationSettings) ProtoReflect() protoreflect.Message
- func (x *HeaderValidationSettings) Reset()
- func (x *HeaderValidationSettings) String() string
- type HeaderValidationSettings_DisableHttp1MethodValidation
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_header_validation_header_validation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type HeaderValidationSettings ¶
type HeaderValidationSettings struct { // 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. // // Types that are assignable to HeaderMethodValidation: // // *HeaderValidationSettings_DisableHttp1MethodValidation HeaderMethodValidation isHeaderValidationSettings_HeaderMethodValidation `protobuf_oneof:"header_method_validation"` // contains filtered or unexported fields }
func (*HeaderValidationSettings) Descriptor
deprecated
func (*HeaderValidationSettings) Descriptor() ([]byte, []int)
Deprecated: Use HeaderValidationSettings.ProtoReflect.Descriptor instead.
func (*HeaderValidationSettings) GetDisableHttp1MethodValidation ¶
func (x *HeaderValidationSettings) GetDisableHttp1MethodValidation() *emptypb.Empty
func (*HeaderValidationSettings) GetHeaderMethodValidation ¶
func (m *HeaderValidationSettings) GetHeaderMethodValidation() isHeaderValidationSettings_HeaderMethodValidation
func (*HeaderValidationSettings) ProtoMessage ¶
func (*HeaderValidationSettings) ProtoMessage()
func (*HeaderValidationSettings) ProtoReflect ¶
func (x *HeaderValidationSettings) ProtoReflect() protoreflect.Message
func (*HeaderValidationSettings) Reset ¶
func (x *HeaderValidationSettings) Reset()
func (*HeaderValidationSettings) String ¶
func (x *HeaderValidationSettings) String() string
type HeaderValidationSettings_DisableHttp1MethodValidation ¶
type HeaderValidationSettings_DisableHttp1MethodValidation struct { // Disable method validation. Envoy will not perform any validation on // the method provided in the HTTP header. DisableHttp1MethodValidation *emptypb.Empty `protobuf:"bytes,1,opt,name=disable_http1_method_validation,json=disableHttp1MethodValidation,proto3,oneof"` }
Click to show internal directories.
Click to hide internal directories.