Python bindings for my HTTP client as its name implies it have requests
like interface.
@final
class Response:
body: str
headers: dict
status: int
All methods are overloaded by C library.
def get(url: str, headers: Optional[Dict[str, str]] = None) -> Response:
def post(url: str, headers: Optional[Dict[str, str]] = None, data: str = "") -> Response:
def put(url: str, headers: Optional[Dict[str, str]] = None, data: str = "") -> Response:
def delete(url: str, headers: Optional[Dict[str, str]] = None) -> Response:
- Precompiled binaries only for linux (yet you can still generate yours with make)
- Only tested with python 3.11