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

Class InvalidUWSGIHeader

gunicorn/uwsgi/errors.py:16–24  ·  view source on GitHub ↗

Raised when the uWSGI header is malformed.

Source from the content-addressed store, hash-verified

14
15
16class InvalidUWSGIHeader(UWSGIParseException):
17 """Raised when the uWSGI header is malformed."""
18
19 def __init__(self, msg=""):
20 self.msg = msg
21 self.code = 400
22
23 def __str__(self):
24 return "Invalid uWSGI header: %s" % self.msg
25
26
27class UnsupportedModifier(UWSGIParseException):

Callers 4

_async_parseMethod · 0.90
parseMethod · 0.90
_parse_varsMethod · 0.90

Calls

no outgoing calls

Tested by 1