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

Class ExpectationFailed

gunicorn/http/errors.py:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49
50class ExpectationFailed(ParseException):
51 def __init__(self, expect):
52 self.expect = expect
53
54 def __str__(self):
55 return "Unable to comply with expectation: %r" % (self.expect, )
56
57
58class InvalidHTTPVersion(ParseException):

Callers 1

_apply_header_policyMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected