12 lines
204 B
Python
12 lines
204 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import annotations
|
|
|
|
import pydantic
|
|
|
|
|
|
class FetchResult(pydantic.BaseModel):
|
|
status_code: int
|
|
content: bytes
|
|
content_type: str | None
|
|
encoding: str
|