response.py 220 B

123456789101112
  1. from http import HTTPStatus
  2. from typing import Optional
  3. from clean_python import ValueObject
  4. __all__ = ["Response"]
  5. class Response(ValueObject):
  6. status: HTTPStatus
  7. data: bytes
  8. content_type: Optional[str]