response code 404 500
生活随笔
收集整理的這篇文章主要介紹了
response code 404 500
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
responseCode
表示三位字?jǐn)?shù)的 HTTP 狀態(tài)碼 (Status-Code) 的?int。 ? HTTP status codes returned by servers on the Internet.
從Internet返回的HTTP status代碼(HTTP 狀態(tài)字)
HTTP_STATUS_CONTINUE (100)
The request can be continued.
請求不能被繼續(xù)
HTTP_STATUS_SWITCH_PROTOCOLS (101)
The server has switched protocols in an upgrade header.
通過新的header服務(wù)器的協(xié)議被轉(zhuǎn)換了
HTTP_STATUS_OK (200)
The request completed successfully.
請求成功的完成
HTTP_STATUS_CREATED (201)
The request has been fulfilled and resulted in the creation of a new resource.
通過新的資源請求已經(jīng)被完成
HTTP_STATUS_ACCEPTED (202)
The request has been accepted for processing, but the processing has not been completed.
請求已經(jīng)被接受處理,但是處理還沒有完成
HTTP_STATUS_PARTIAL (203)
The returned meta information in the entity-header is not the definitive set available from the origin server.
從服務(wù)器返回的在entity-header中的meta信息是無效的
HTTP_STATUS_NO_CONTENT (204)
The server has fulfilled the request, but there is no new information to send back.
服務(wù)器實(shí)現(xiàn)了請求,但是沒有返回信息
HTTP_STATUS_RESET_CONTENT (205)
The request has been completed, and the client program should reset the document view that caused the request to be sent to allow the user to easily initiate another input action.
請求已經(jīng)被完成,并且web程序(客戶端程序?yàn)g覽器程序)已經(jīng)重置了文檔視圖目錄(content),這個(gè)目錄很容易允許使用者用另一個(gè)動(dòng)作發(fā)送請求
HTTP_STATUS_PARTIAL_CONTENT (206)
The server has fulfilled the partial GET request for the resource.
服務(wù)器已經(jīng)為資源完成了部分GET請求
HTTP_STATUS_AMBIGUOUS (300)
The server couldn't decide what to return.
服務(wù)器不能判定返回什么
HTTP_STATUS_MOVED (301)
The requested resource has been assigned to a new permanent URI (Uniform Resource Identifier), and any future references to this resource should be done using one of the returned URIs.
被請求的資源已經(jīng)被分配給新的URI,并且以后引用時(shí)都使用這個(gè)URIs資源。
HTTP_STATUS_REDIRECT (302)
The requested resource resides temporarily under a different URI (Uniform Resource Identifier).
請求的資源臨時(shí)在不同的uri下
HTTP_STATUS_REDIRECT_METHOD (303)
The response to the request can be found under a different URI (Uniform Resource Identifier) and should be retrieved using a GET HTTP verb on that resource.
請求的資源不能在不同的uri下找到,并且從新使用GET HTTP在服務(wù)器上從新檢索
HTTP_STATUS_NOT_MODIFIED (304)
The requested resource has not been modified.
請求的資源沒有被改變
HTTP_STATUS_USE_PROXY (305)
The requested resource must be accessed through the proxy given by the location field.
請求的資源必須通過特定的代理獲得
HTTP_STATUS_REDIRECT_KEEP_VERB (307)
The redirected request keeps the same HTTP verb. HTTP/1.1 behavior.
從定位請求,
400 Invalid syntax. 語法問題
401 Access denied. 訪問拒絕
402 Payment required. 必須完整
403 Request forbidden. 請求被禁止
404 Object not found. 對象沒有找到
405 Method is not allowed. 方法不允許
406 No response acceptable to client found. 客戶端沒有響應(yīng)
407 Proxy authentication required. 代理需要驗(yàn)證
408 Server timed out waiting for request. 等等請求時(shí)服務(wù)器斷開連接
409 User should resubmit with more info. 有沖突用戶應(yīng)該進(jìn)行檢查
410 Resource is no longer available. 資源不可用
411 Server refused to accept request without a length. 服務(wù)器拒絕接受沒有長度的請求
412 Precondition given in request failed. 放棄請求失敗的條件
413 Request entity was too large. 請求太大
414 Request Uniform Resource Identifier (URI) too long. 請求的URI 太長
415 Unsupported media type. 不支持MEDIA類型
449 Retry after doing the appropriate action. 在作了適當(dāng)動(dòng)作后重試
500 Internal server error. 服務(wù)器內(nèi)部錯(cuò)誤
501 Server does not support the functionality required to fulfill the request. 服務(wù)器不支持請求的功能
502 Error response received from gateway. 從網(wǎng)關(guān)收到錯(cuò)誤應(yīng)答
503 Temporarily overloaded. 過載
504 Timed out waiting for gateway. 等待網(wǎng)關(guān)時(shí)請求斷開
505 HTTP version not supported. 不支持HTTP的版本
- 1xx:Informational
- 2xx:Success
- 3xx:Redirection
- 4xx:Client Error
- 5xx:Server Error?
從Internet返回的HTTP status代碼(HTTP 狀態(tài)字)
HTTP_STATUS_CONTINUE (100)
The request can be continued.
請求不能被繼續(xù)
HTTP_STATUS_SWITCH_PROTOCOLS (101)
The server has switched protocols in an upgrade header.
通過新的header服務(wù)器的協(xié)議被轉(zhuǎn)換了
HTTP_STATUS_OK (200)
The request completed successfully.
請求成功的完成
HTTP_STATUS_CREATED (201)
The request has been fulfilled and resulted in the creation of a new resource.
通過新的資源請求已經(jīng)被完成
HTTP_STATUS_ACCEPTED (202)
The request has been accepted for processing, but the processing has not been completed.
請求已經(jīng)被接受處理,但是處理還沒有完成
HTTP_STATUS_PARTIAL (203)
The returned meta information in the entity-header is not the definitive set available from the origin server.
從服務(wù)器返回的在entity-header中的meta信息是無效的
HTTP_STATUS_NO_CONTENT (204)
The server has fulfilled the request, but there is no new information to send back.
服務(wù)器實(shí)現(xiàn)了請求,但是沒有返回信息
HTTP_STATUS_RESET_CONTENT (205)
The request has been completed, and the client program should reset the document view that caused the request to be sent to allow the user to easily initiate another input action.
請求已經(jīng)被完成,并且web程序(客戶端程序?yàn)g覽器程序)已經(jīng)重置了文檔視圖目錄(content),這個(gè)目錄很容易允許使用者用另一個(gè)動(dòng)作發(fā)送請求
HTTP_STATUS_PARTIAL_CONTENT (206)
The server has fulfilled the partial GET request for the resource.
服務(wù)器已經(jīng)為資源完成了部分GET請求
HTTP_STATUS_AMBIGUOUS (300)
The server couldn't decide what to return.
服務(wù)器不能判定返回什么
HTTP_STATUS_MOVED (301)
The requested resource has been assigned to a new permanent URI (Uniform Resource Identifier), and any future references to this resource should be done using one of the returned URIs.
被請求的資源已經(jīng)被分配給新的URI,并且以后引用時(shí)都使用這個(gè)URIs資源。
HTTP_STATUS_REDIRECT (302)
The requested resource resides temporarily under a different URI (Uniform Resource Identifier).
請求的資源臨時(shí)在不同的uri下
HTTP_STATUS_REDIRECT_METHOD (303)
The response to the request can be found under a different URI (Uniform Resource Identifier) and should be retrieved using a GET HTTP verb on that resource.
請求的資源不能在不同的uri下找到,并且從新使用GET HTTP在服務(wù)器上從新檢索
HTTP_STATUS_NOT_MODIFIED (304)
The requested resource has not been modified.
請求的資源沒有被改變
HTTP_STATUS_USE_PROXY (305)
The requested resource must be accessed through the proxy given by the location field.
請求的資源必須通過特定的代理獲得
HTTP_STATUS_REDIRECT_KEEP_VERB (307)
The redirected request keeps the same HTTP verb. HTTP/1.1 behavior.
從定位請求,
401 Access denied. 訪問拒絕
402 Payment required. 必須完整
403 Request forbidden. 請求被禁止
404 Object not found. 對象沒有找到
405 Method is not allowed. 方法不允許
406 No response acceptable to client found. 客戶端沒有響應(yīng)
407 Proxy authentication required. 代理需要驗(yàn)證
408 Server timed out waiting for request. 等等請求時(shí)服務(wù)器斷開連接
409 User should resubmit with more info. 有沖突用戶應(yīng)該進(jìn)行檢查
410 Resource is no longer available. 資源不可用
411 Server refused to accept request without a length. 服務(wù)器拒絕接受沒有長度的請求
412 Precondition given in request failed. 放棄請求失敗的條件
413 Request entity was too large. 請求太大
414 Request Uniform Resource Identifier (URI) too long. 請求的URI 太長
415 Unsupported media type. 不支持MEDIA類型
449 Retry after doing the appropriate action. 在作了適當(dāng)動(dòng)作后重試
500 Internal server error. 服務(wù)器內(nèi)部錯(cuò)誤
501 Server does not support the functionality required to fulfill the request. 服務(wù)器不支持請求的功能
502 Error response received from gateway. 從網(wǎng)關(guān)收到錯(cuò)誤應(yīng)答
503 Temporarily overloaded. 過載
504 Timed out waiting for gateway. 等待網(wǎng)關(guān)時(shí)請求斷開
505 HTTP version not supported. 不支持HTTP的版本
總結(jié)
以上是生活随笔為你收集整理的response code 404 500的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Hessian 原理分析
- 下一篇: 这些名言都是有后半句的,以前都按前半句理