Whether the response status is in the 200-299 range.
(self)
| 66 | |
| 67 | @property |
| 68 | def ok(self) -> bool: |
| 69 | """Whether the response status is in the 200-299 range.""" |
| 70 | return 200 <= self.status <= 299 |
| 71 | |
| 72 | def json(self) -> Any: |
| 73 | """Parse the response body as JSON. |
no outgoing calls
no test coverage detected