module
Class info¶
🛈 DocStrings¶
Resolve which httpx flavour (httpx2 or legacy httpx) to use.
HTTPX_MODULE_NAMES
module-attribute
¶
Supported httpx flavours, in order of preference.
get_httpx_module
¶
Return the httpx module to use.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str | None
|
Explicit module name ("httpx2" or "httpx"). If omitted, httpx2 is preferred and legacy httpx is used as a fallback. |
None
|
Raises:
| Type | Description |
|---|---|
ImportError
|
If no httpx flavour is installed. |