Class ExtendHttpRequestHeaderValueRule
An object that represents the action of modifying a request header value. This rule applies only to HTTP listeners.
This rule adds a prefix, a suffix, or both to the header value.
NOTES:
- This rule requires a value for a prefix, suffix, or both.
- The system does not support this rule for headers with multiple values.
- The system does not distinquish between underscore and dash characters in headers. That is, it treats
example_header_name
andexample-header-name
as identical. If two such headers appear in a request, the system applies the action to the first header it finds. The affected header cannot be determined in advance. Oracle recommends that you do not rely on underscore or dash characters to uniquely distinguish header names.
Inherited Members
Namespace: Oci.LoadbalancerService.Models
Assembly: OCI.DotNetSDK.Loadbalancer.dll
Syntax
public class ExtendHttpRequestHeaderValueRule : Rule
Properties
Header
Declaration
[Required(ErrorMessage = "Header is required.")]
[JsonProperty(PropertyName = "header")]
public string Header { get; set; }
Property Value
Type | Description |
---|---|
string | A header name that conforms to RFC 7230.
|
Remarks
Required
Prefix
Declaration
[JsonProperty(PropertyName = "prefix")]
public string Prefix { get; set; }
Property Value
Type | Description |
---|---|
string | A string to prepend to the header value. The resulting header value must conform to RFC 7230. With the following exceptions:
|
Suffix
Declaration
[JsonProperty(PropertyName = "suffix")]
public string Suffix { get; set; }
Property Value
Type | Description |
---|---|
string | A string to append to the header value. The resulting header value must conform to RFC 7230. With the following exceptions:
|