RawResponseHeaders

包含 HTTP 回應中的所有標頭。 每個標題都由一對 CR/LF 分隔。

語法

HTTPObject.RawResponseHeaders

其中:

  • RawResponseHeaders 是字串(讀)
範例

此指令碼將傳送 OPTIONS http 要求:

Function Main

Dim HTTPObj as Object

ip = "www.gfi.com"

port = 80

Set HTTPobj = HTTP.Connect (ip,port)

'設定要求類型

HTTPobj.GetURL("/")

HTTPobj.Authentication = 1

HTTPobj.Verb = "OPTIONS"

'使用我們自訂的標頭傳送 OPTIONS 要求

HTTPResponse = HTTPobj.SendRequest ()

echo HTTPobj.RawResponseHeaders

End Function