Raised when the uWSGI header is malformed.
| 14 | |
| 15 | |
| 16 | class 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 | |
| 27 | class UnsupportedModifier(UWSGIParseException): |
no outgoing calls