human_requests.abstraction.http¶
Classes¶
Represents an HTTP method. |
|
A dataclass containing the parsed URL components. |
|
Универсальный класс для работы с прокси в двух форматах: |
Module Contents¶
- class HttpMethod(*args, **kwds)[source]¶
Represents an HTTP method.
- POST = 'POST'[source]¶
Submits data to a server to create a new resource. It can also be used to update existing resources.
- PUT = 'PUT'[source]¶
Updates a existing resource on a server. It can also be used to create a new resource.
- PATCH = 'PATCH'[source]¶
Updates a existing resource on a server. It only updates the fields that are provided in the request body.
- class Proxy(
- proxy: str | Dict[str, Any] | None = None,
- *,
- server: str | None = None,
- username: str | None = None,
- password: str | None = None,
Универсальный класс для работы с прокси в двух форматах: 1. Строковый: ‘http://user:pass@host:port’ или ‘socks5://host:port’ 2. Playwright dict: {
‘server’: ‘http://host:port’, ‘username’: ‘user’, ‘password’: ‘pass’
}