1. 程式人生 > >HTTP 請求返回400 等錯誤的解釋

HTTP 請求返回400 等錯誤的解釋

http_status_bad_request (400) 
the request could not be processed by the server due to invalid syntax.
因為語法不能被伺服器處理
http_status_denied (401)
the requested resource requires user authentication.
請求資源命令必須被驗證(拒絕訪問)
http_status_payment_req (402)
not currently implemented in the http protocol.
沒有完全實現http協議
http_status_forbidden (403)
the server understood the request, but is refusing to fulfill it.
伺服器理解了請求,但是拒絕完成他
http_status_not_found (404)
the server has not found anything matching the requested uri (uniform resource identifier).
沒有找到任何被指定的uri

http_status_bad_method (405)
the http verb used is not allowed.
http動作不被允許
http_status_none_acceptable (406)
no resp acceptable to the client were found.
應答沒有被客戶接受
http_status_proxy_auth_req (407)
proxy authentication required.
代理必須被驗證
http_status_request_timeout (408)
the server timed out waiting for the request.
伺服器在等待請求時中止了
http_status_conflict (409)
the request could not be completed due to a c with the current state of the resource. the user should resubmit with more information.
請求不能被完成,問題是資源衝突。使用者應該進行調整
http_status_gone (410)
the requested resource is no l available at the server, and no forwarding address is known.
請求的資源在伺服器上不再可用,而且沒有轉發地址
http_status_length_required (411)
the server refuses to accept the request without a defined c length.
伺服器拒絕接受沒有定義目錄大小的請求
http_status_precond_failed (412)
the prec given in or more of the request header fields evaluated to false when it was tested on the server.
當在伺服器上測試請求
標頭檔案
放棄一個或者多個請求的條件
http_status_request_too_large (413)
the server is refusing to process a request because the request entity is larger than the server is willing or able to process.
伺服器拒絕處理請求,原因是請求的大小超過伺服器能夠處理的大小
http_status_uri_too_long (414)
the server is refusing to service the request because the request uri (uniform resource identifier) is l than the server is willing to interpret.
伺服器
拒絕服務
,原因是請求的uri超過了伺服器能夠揭示的長度
http_status_unsupported_media (415)
the server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.
伺服器拒絕服務,原因是請求格式不被支援