MCPcopy Create free account
hub / github.com/TimMcCool/scratchattach / HTTPResponse

Class HTTPResponse

scratchattach/utils/requests.py:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56@dataclass
57class HTTPResponse(AnyHTTPResponse):
58 request_method: HTTPMethod = field(kw_only=True)
59 status_code: int = field(kw_only=True)
60 content: bytes = field(kw_only=True)
61 text: str = field(kw_only=True)
62 headers: dict[str, str] = field(kw_only=True)
63
64class OAHTTPSession(ABC):
65 error_handling: bool = True

Callers 2

sync_requestMethod · 0.85
async_requestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected