Click or drag to resize
HTTPHeadersExistsAndEquals Method
Determines if the Headers collection contains a header of the specified name, and sHeaderValue=Header's value. Similar to a case-insensitive version of: headers[sHeaderName]==sHeaderValue, although it checks all instances of the named header.

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public bool ExistsAndEquals(
	string sHeaderName,
	string sHeaderValue
)

Parameters

sHeaderName
Type: SystemString
The name of the header to check. (case insensitive)
sHeaderValue
Type: SystemString
The full header value. (case insensitive)

Return Value

Type: Boolean
True if the header is found and the value case-insensitively matches the parameter
See Also