Raised when modifier1 is not 0 (WSGI request).
| 25 | |
| 26 | |
| 27 | class 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 | |
| 38 | class ForbiddenUWSGIRequest(UWSGIParseException): |
no outgoing calls