2
Rebol(R2)在调用read函数(它似乎返回页面内容)后保存HTTP响应头文件?Rebol - HTTP响应头文件
Rebol(R2)在调用read函数(它似乎返回页面内容)后保存HTTP响应头文件?Rebol - HTTP响应头文件
不知道有一个简单的方法可以在直读后获取标题。
你可以得到他们,如果你打开一个端口:
hp: open http://www.rebol.com
probe hp/locals/headers
make object! [
Date: "Sat, 07 May 2011 07:08:35 GMT"
Server: "Apache"
Last-Modified: "Tue, 22/Feb/2011/06:52:26/+GMT"
Accept-Ranges: "bytes"
Content-Encoding: none
Content-Type: "text/html"
Content-Length: "9062"
Location: none
Expires: none
Referer: none
Connection: "close"
Authorization: none
]