Home > Configuration > NS > setnshttpprofile_maxduplicateheaderfields

setnshttpprofile_maxduplicateheaderfields

Use this method to set maximum number of allowed occurrences of header fields that share the same field name. This threshold is enforced only for well-known header field names recognized by NetScaler. If the value is set to 0, then it will be similar to previous behavior, Where we store only 15 duplicate headers and rest are parsed and send to the server.

Syntax



Parameters

name

Name of the HTTP profile to be modified.
This is mandatory parameter.

maxduplicateheaderfields

Maximum number of allowed occurrences of header fields that share the same field name. This threshold is enforced only for well-known header field names recognized by NetScaler. If the value is set to 0, then it will be similar to previous behavior, Where we store only 15 duplicate headers and rest are parsed and send to the server.
Default value = HTTP_DEFAULT_DUP_HEADER_PARSED.
Minimum value = 0.
Maximum value = HTTP_MAX_DUP_HEADER_PARSED.

Return Value

Returns simpleResult

See Also