HTTP Status Codes ( 狀態碼 )

HTTP CODES - 100-101


100 - Continue ( 繼續 )
Tells the client that the first part of the request has been received and that it should continue with the rest of the request or ignore if the request has been fulfilled.

101 - Switching Protocols ( 切換通訊協定 )
Tells the client that the server will switch protocols to that specified in the Upgrade message header field during the current connection.

HTTP CODES 200-206


200 - OK ( 確定。 用戶端要求成功 )
The request sent by the client was successful.

201 - Created ( 已建立 )
The request was successful and a new resource was created.

202 - Accepted ( 已接受 )
The request has been accepted for processing, but has not yet been processed.

203 - Non-Authoritative Information ( 非授權資訊 )
The returned meta information in the entity-header is not the definitive set as available from the origin server.

204 - No Content ( 無內容 )
The request was successful but does not require the return of an entity-body.

205 - Reset Content ( 重設內容 )
The request was successful but the User-Agent should reset the document view that caused the request.

206 - Partial Content ( 部分內容 )
The partial GET request has been successful.

HTTP CODES 300-307


300 - Multiple Choices
The requested resource has multiple possibilities, each with different locations.

301 - Moved Permanently ( 要求的網頁已經永久改變網址 )
The resource has permanently moved to a different URI.

302 - Found ( 物件已移動,並告知移動過去的網址 )
The requested resource has been found under a different URI but the client should continue to use the original URI.

303 - See Other ( 通知 Client 連到另一個網址去查看上傳表單的結果(POST 變成 GET),當使用程式作網頁轉向時,會回應此訊息 )
The requested response is at a different URI and should be accessed using a GET command at the given URI.

304 - Not Modified ( 未修改 )
The resource has not been modified since the last request.

305 - Use Proxy ( 要求的網頁必須透過 Server 指定的 proxy 才能觀看 ( 透過 Location 標頭 ) )
The requested resource can only be accessed through the proxy specified in the location field.

306 - No Longer Used ( (未使用) 此代碼僅用來為了向前相容而已 )
Reserved for future use.

307 - Temporary Redirect ( 暫時重新導向 )
The resource has temporarily been moved to a different URI. The client should use the original URI to access the resource in future as the URI may change.

HTTP CODES 400-417


400 - Bad Request ( 錯誤的要求 )
The syntax of the request was not understood by the server.

401 - Not Authorised ( 拒絕存取 )
The request needs user authentication

402 - Payment Required
Reserved for future use.

403 - Forbidden ( 禁止使用 )
The server has refused to fulfill the request.

404 - Not Found ( 找不到 )
The document/file requested by the client was not found.

405 - Method Not Allowed ( 用來存取這個頁面的 HTTP 動詞不受允許 (方法不受允許) )
The method specified in the Request-Line is not allowed for the specified resource.

406 - Not Acceptable ( 用戶端瀏覽器不接受要求頁面的 MIME 類型 )
The resource requested is only capable of generating response entities which have content characteristics not specified in the accept headers sent in the request.

407 - Proxy Authentication Required ( 需要 Proxy 驗證 )
The request first requires authentication with the proxy.

408 - Request Timeout
The client failed to sent a request in the time allowed by the server.

409 - Conflict
The request was unsuccessful due to a conflict in the state of the resource.

410 - Gone
The resource requested is no longer available and no forwarding address is available.

411 - Length Required
The server will not accept the request without a valid Content-Length header field.

412 - Precondition Failed ( 指定條件失敗 )
A precondition specified in one or more Request-Header fields returned false.

413 - Request Entity Too Large ( 要求的實體太大 )
The request was unsuccessful because the request entity is larger than the server will allow.

414 - Request URI Too Long ( 要求 URI 太長 )
The request was unsuccessful because the URI specified is longer than the server is willing to process.

415 - Unsupported Media Type ( 不支援的媒體類型 )
The request was unsuccessful because the entity of the request is in a format not supported by the requested resource for the method requested.

416 - Requested Range Not Satisfiable ( 無法滿足要求的範圍 )
The request included a Range request-header field, and not any of the range-specifier values in this field overlap the current extent of the selected resource, and also the request did not include an If-Range request-header field.

417 - Expectation Failed ( 執行失敗 )
The expectation given in the Expect request-header could not be fulfilled by the server.

HTTP CODES 500-505


500 - Internal Server Error ( 內部伺服器錯誤 )
The request was unsuccessful due to an unexpected condition encountered by the server.

501 - Not Implemented ( 標頭值指定未實作的設定 )
The request was unsuccessful because the server can not support the functionality needed to fulfill the request.

502 - Bad Gateway ( Web 伺服器在作為閘道或 Proxy 時收到無效的回應 )
The server received an invalid response from the upstream server while trying to fulfill the request.

503 - Service Unavailable ( 服務無法使用。 這是 IIS 6.0 專用的錯誤碼 )
The request was unsuccessful to the server being down or overloaded.

504 - Gateway Timeout ( 閘道逾時 )
The upstream server failed to send a request in the time allowed by the server.

505 - HTTP Version Not Supported ( 不支援的 HTTP 版本 )
The server does not support or is not allowing the HTTP protocol version specified in the request.

  • 2 Korisnici koji smatraju članak korisnim
Je li Vam ovaj odgovor pomogao?

Vezani članci

How to Create a phpinfo File?

In the phpinfo.php page, the PHP version can be seen at the top of the file, listing the current...

解決IE與chrome 無法正常顯示雲端主機頁面之問題

設定IE9顯示混合內容於IE9 →「網際網路選項」→「安全性」→「網際網路」→「自訂等級」→「顯示混合的內容」中,點選『啟用』即可。...

網路設計業者報價台灣的伺服器,是否真的有需要這麼貴嗎?對方告訴我,他們公司設計師習慣在這家伺服器底下工作,這樣是不是客戶就真的沒得挑了呢?

看您的網站需求,而決定空間的種類,假如您網站是多媒體有提供檔案與影音讓人線上觀看或者大型檔案下載,那您可能就需要獨立的伺服器或者VPS,那麼空間的價格可能就會比較貴一點,一般公司的官方網站虛擬主...

停用網頁裡的Javascript看Java是否造成網頁瀏覽變慢的主因?!

現在的網站,大都使用了Javascript語言來增加廣告收益或者是網頁特效,但過多的Javascript會造成網頁開啟速度變慢、用戶端CPU及記憶體的消耗,為了檢測是網站主機的速度或者是第三方主...

如果伺服器架美國,台灣人是否就無法設計以及進行架網?

做網頁為何一定要架設伺服器呢? 網頁+空間=線上瀏覽的網站...

Powered by WHMCompleteSolution