Common HTTP status codes in production environments

Author: Zhang Yanfeng, please indicate the source pseudonym: clouds dreams

51CTO course address: https://edu.51cto.com/lecturer/12750547.html Linux technology exchange group: 1127825548


List of HTTP status codes common in production environment (List of HTTP status codes) are:

200 ok, the server successfully returned to the webpage

        Standard response for successful HTTP requests。


301 Moved Permanently, the requested webpage has been permanently jumped to the new location.

        This and all future requests should be directed to the given。


403 Forbidden (Access is forbidden), the server rejected the request

        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 server cannot find the requested page.

        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 message,given when no more specific message is suitable。


502 Bad Gatway (bad gateway). Generally, when the gateway server requests the back-end service, the back-end service does not return the result correctly according to the http protocol.

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


503 Service Unavailable (service is currently unavailable), possibly due to overload or downtime for maintenance

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

The server is currently unavailable (because it is overload or down for maintenance)

504 Getway Timeout (gateway timeout). Generally, when the gateway server requests the back-end service, the back-end service does not complete the service within a specific time.

        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。


Guess you like

Origin blog.51cto.com/12760547/2668517