(self)
| 188 | return func |
| 189 | |
| 190 | def __repr__(self) -> str: |
| 191 | if self.is_sequence: |
| 192 | body_info = f"{sum(map(len, self.iter_encoded()))} bytes" |
| 193 | else: |
| 194 | body_info = "streamed" if self.is_streamed else "likely-streamed" |
| 195 | return f"<{type(self).__name__} {body_info} [{self.status}]>" |
| 196 | |
| 197 | @classmethod |
| 198 | def force_type( |
nothing calls this directly
no test coverage detected