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

Class UnsupportedModifier

gunicorn/uwsgi/errors.py:27–35  ·  view source on GitHub ↗

Raised when modifier1 is not 0 (WSGI request).

Source from the content-addressed store, hash-verified

25
26
27class UnsupportedModifier(UWSGIParseException):
28 """Raised when modifier1 is not 0 (WSGI request)."""
29
30 def __init__(self, modifier):
31 self.modifier = modifier
32 self.code = 501
33
34 def __str__(self):
35 return "Unsupported uWSGI modifier1: %d" % self.modifier
36
37
38class ForbiddenUWSGIRequest(UWSGIParseException):

Callers 3

_async_parseMethod · 0.90
parseMethod · 0.90

Calls

no outgoing calls

Tested by 1