Class HttpHeaderOption (1.6.0)

HttpHeaderOption(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specification determining how headers are added to requests or responses.

Attributes

NameDescription
header_name str
The name of the header. This field is a member of `oneof`_ ``_header_name``.
header_value str
The value of the header to add. This field is a member of `oneof`_ ``_header_value``.
replace bool
If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false. This field is a member of `oneof`_ ``_replace``.

Inheritance

builtins.object > proto.message.Message > HttpHeaderOption