MCPcopy
hub / github.com/benoitc/gunicorn / ForbiddenProxyRequest

Class ForbiddenProxyRequest

gunicorn/http/errors.py:163–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161
162
163class ForbiddenProxyRequest(ParseException):
164 def __init__(self, host):
165 self.host = host
166 self.code = 403
167
168 def __str__(self):
169 return "Proxy request from %r not allowed" % self.host
170
171
172class InvalidSchemeHeaders(ParseException):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected