Show / Hide Table of Contents

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.

Inheritance
object
HeaderManipulationAction
ExtendHttpResponseHeaderAction
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.
Example: example_header_name

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.
Example: example_value

Remarks

Required

In this article
Back to top