504 Gateway Timeout

Nội dung bài viết

Video học lập trình mỗi ngày

504 Gateway Timeout

504 Gateway Timeout is a status a proxy might emit, when it’s acting as a proxy and not getting a response from an upstream server.

This is fairly close to 502 Bad Gateway, except that 502 should be returned when a proxy got an invalid response, and 504 typically when the proxy didn’t get a response at all (or too late).

Example

HTTP/1.1 504 Gateway Timeout
Content-Type text/html

<h1>Timeout</h1>

<p>We did not get a timely response from our upstream application server :(</p>

References

Có thể bạn đã bị missing