0
我輸入驗證碼原始http請求:爲什麼我會收到400錯誤請求錯誤?
p: open tcp://rebol.com:80
insert p "HEAD/HTTP/1.1 ^/"
insert p "Host: rebol.com/ ^/^/"
while [data: copy p][prin data]
輸出的第一行是400錯誤的請求
>> p: open tcp://rebol.com:80
>> insert p "HEAD/HTTP/1.1 ^/"
>> insert p "Host: rebol.com/ ^/^/"
>> while [data: copy p][prin data]
HTTP/1.1 400 Bad Request
Date: Sun, 18 Jul 2010 12:10:49 GMT
Server: Apache/1.3.42 (Unix) PHP/4.4.9 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage
/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8e-fips-rhel5
Connection: close
Content-Type: text/html; charset=iso-8859-1
>>
爲什麼我得到400錯誤的請求?