RawResponseHeaders

包含 HTTP 响应中的所有标头。 每个标题都由一对 CR/LF 分隔。

语法

HTTPObject.RawResponseHeaders

其中:

  • RawResponseHeaders 是字符串(读)
示例

此脚本将发送 OPTIONS http 请求:

函数 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 函数