Commits

Danny Navarro committed 0da0da6

docstring for HTTP 502

Comments (0)

Files changed (1)

 ${detail}''')
 
 class HTTPBadGateway(HTTPServerError):
+    """
+    502 status code
+
+    This indicates that the server, while acting as a gateway or proxy,
+    received an invalid response from the upstream server it accessed
+    in attempting to fulfill the request.
+    """
     code = 502
     title = 'Bad Gateway'
     explanation = ('Bad gateway.')