Class ExtendHttpResponseHeaderAction
An object that represents the action of adding a header field to a response. If the header with specified value already exists, nothing will be added. If the header exists with different value, additional header name:value pair will be added. Comma separated header values are not considered individually (instead as a single value) when adding a new header field.
Inherited Members
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class ExtendHttpResponseHeaderAction : HeaderManipulationAction
Properties
Header
Declaration
[Required(ErrorMessage = "Header is required.")]
[JsonProperty(PropertyName = "header")]
public string Header { get; set; }
Property Value
Type | Description |
---|---|
string | A header field name that conforms to RFC 7230.
|
Remarks
Required
Value
Declaration
[Required(ErrorMessage = "Value is required.")]
[JsonProperty(PropertyName = "value")]
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string | A header field value that conforms to RFC 7230.
|
Remarks
Required