|
2010/5/19 下午 02:16:25
我寫一個程式去要求一個網頁內容 回應的樣板如下 HTTP/1.1 200 OK Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Type: text/html; charset=utf8 Expires: Thu, 19 Nov 1981 08:52:00 GMT Server: Microsoft-IIS/7.0 X-Powered-By: PHP/5.2.12 X-Powered-By: ASP.NET Date: Wed, 19 May 2010 06:04:15 GMT Content-Length: 19621
/* <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> */
HTTP/1.1 400 Bad Request Content-Type: text/html; charset=us-ascii Server: Microsoft-HTTPAPI/2.0 Date: Wed, 19 May 2010 06:04:15 GMT Connection: close Content-Length: 326
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd"> <HTML><HEAD><TITLE>Bad Request</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Bad Request - Invalid Verb</h2> <hr><p>HTTP Error 400. The request verb is invalid.</p> </BODY></HTML>
/*..*/ 裡頭太多資料我就不貼了,是正常的... 但是為什麼資料的最後又給我一次header呢?
|
|
|
|
|
|
|
|
|
|
|
板主 :
小朱
Top 10 評價排行 |
 |
IIS Server |
|
|
|
|
|
|
|
|
|
IIS Server |
 |
|
|
專家等級 |
評價 |
|
|
一代宗師 |
10000 |
|
|
曠世奇才 |
5000 |
|
|
頂尖高手 |
3000 |
|
|
卓越專家 |
1500 |
|
|
優秀好手 |
750 |
|
|
|
|
|
|
|