We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8195361 commit 96c0a33Copy full SHA for 96c0a33
h11/_events.py
@@ -224,7 +224,7 @@ class Response(_ResponseBase):
224
225
The status code of this response, as an integer. For an
226
:class:`Response`, this is always in the range [200,
227
- 600).
+ 1000).
228
229
.. attribute:: headers
230
@@ -245,9 +245,9 @@ class Response(_ResponseBase):
245
"""
246
247
def __post_init__(self) -> None:
248
- if not (200 <= self.status_code < 600):
+ if not (200 <= self.status_code < 1000):
249
raise LocalProtocolError(
250
- "Response status_code should be in range [200, 600), not {}".format(
+ "Response status_code should be in range [200, 1000), not {}".format(
251
self.status_code
252
)
253
0 commit comments