request() re-raised every aiohttp.ClientError subclass as the bare base class, losing ClientConnectorError/ClientProxyConnectionError/ClientResponseError (.status/.headers)/TooManyRedirects and their attributes; direct callers branching by type never matched. Now the original exception is bare-raised, preserving subtype, attributes, and __cause__. request_with_retries (which catches the base ClientError) is unaffected. as_curl() silently dropped params and timeout, so a debug=True replay of a params-driven request hit a different URL than the one actually sent. params are now merged into the URL via yarl before quoting, and timeout renders as --max-time. Bumps 0.1.7 -> 0.1.8. Signed-off-by: disqualifier <dev@disqualifier.me>
21 lines
536 B
TOML
21 lines
536 B
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "aioweb"
|
|
version = "0.1.8"
|
|
description = "Async HTTP session wrapper over aiohttp — proxies, header overwrites, retries, previews. Config-free, installable."
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"aiohttp>=3.9",
|
|
"yarl>=1.9",
|
|
"commons @ git+ssh://git@git.rethinkstudios.io/rethink-public/commons.git@v0.2.1",
|
|
]
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/aioweb"]
|