Danny Navarro  committed 07df150

docstring for HTTP 504

  • Participants
  • Parent commits 038200f

Comments (0)

Files changed (1)

File webob/

                    'Please try again at a later time.')
 class HTTPGatewayTimeout(HTTPServerError):
+    """
+    504 status code
+    This indicates that the server, while acting as a gateway or proxy,
+    did not receive a timely response from the upstream server specified
+    by the URI (e.g. HTTP, FTP, LDAP) or some other auxiliary server
+    (e.g. DNS) it needed to access in attempting to complete the request.
+    """
     code = 504
     title = 'Gateway Timeout'
     explanation = ('The gateway has timed out.')