天天看點

生産環境常見的HTTP狀态碼清單

200 - OK,伺服器成功傳回網頁 

    - Standard response for successful HTTP requests.

301 - Moved Permanently(永久跳轉),請求的網頁已永久跳轉到新位置。

    - This and all future requests should be directed to the given.

403 - Forbidden(禁止通路),伺服器拒絕請求

    - forbidden request (matches a deny filter) => HTTP 403

    - The request was a legal request, but the server is refusing to respond to it.

404 - Not Found,伺服器找不到請求的頁面。

    - The requested resource could not be found but may be available again in the future.

500 - Internal Server Error(内部伺服器錯誤)

    - internal error in haproxy => HTTP 500

    - A generic error message, given when no more specific message is suitable.

502 - Bad Gateway(壞的網關),一般是網關伺服器請求後端服務時,後端服務沒有按照http協定正确傳回結果。

    - the server returned an invalid or incomplete response => HTTP 502

    - The server was acting as a gateway or proxy and received an invalid response from the upstream server.

503 - Service Unavailable(服務目前不可用),可能因為超載或停機維護。

    - no server was available to handle the request => HTTP 503

    - The server is currently unavailable (because it is overloaded or down for maintenance).

504 - Gateway Timeout(網關逾時),一般是網關伺服器請求後端服務時,後端服務沒有在特定的時間内完成服務。

    - the server failed to reply in time => HTTP 504

    - The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.

轉載于:http://oldboy.blog.51cto.com/2561410/716294

      本文轉自027ryan  51CTO部落格,原文連結:http://blog.51cto.com/ucode/1750887,如需轉載請自行聯系原作者

繼續閱讀