The cause of the DecodeError of a body read past its limit.
Attributes#
| Attribute | Type | Description |
|---|---|---|
max_bytes | = max_bytes |
Functions#
__init__#
__init__(max_bytes) -> None| Parameter | Type | Description |
|---|---|---|
max_bytes | int |
def __init__(self, max_bytes: int) -> None:
super().__init__(f"Response body exceeds {max_bytes} bytes")
self.max_bytes = max_bytes