RawResponseHeaders

Contains all headers in the HTTP response. Each header is separated by a CR/LF pair.

Syntax

HTTPObject.RawResponseHeaders

Where:

  • RawResponseHeaders is a String (read)
Example

This script will Send an OPTIONS http request:

Function Main

Dim HTTPObj as Object

ip = "www.gfi.com"

port = 80

Set HTTPobj = HTTP.Connect (ip,port)

'Set up the request type

HTTPobj.GetURL("/")

HTTPobj.Authentication = 1

HTTPobj.Verb = "OPTIONS"

'Send the OPTIONS request with our custom headers

HTTPResponse = HTTPobj.SendRequest ()

echo HTTPobj.RawResponseHeaders

End Function