Click or drag to resize
HTTPRequestHeadersToString Method (Boolean, Boolean, Boolean)
Returns a string representing the HTTP headers.

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public string ToString(
	bool prependVerbLine,
	bool appendEmptyLine,
	bool includeProtocolAndHostInPath
)

Parameters

prependVerbLine
Type: SystemBoolean
TRUE if the HTTP REQUEST line (method+path+httpversion) should be included
appendEmptyLine
Type: SystemBoolean
TRUE if there should be a trailing CRLF sequence included
includeProtocolAndHostInPath
Type: SystemBoolean
TRUE if the SCHEME and HOST should be included in the HTTP REQUEST LINE (Automatically set to FALSE for CONNECT requests)

Return Value

Type: String
The HTTP headers as a string.
See Also