fix: preserve URL-embedded proxy auth; clearer empty-list + malformed-template errors (v0.2.2)
- _proxy_from_dict server branch falls back to auth embedded in the server URL when no explicit username/password keys are given, so it isn't dropped and the proxy keys with its credentials instead of colliding auth-less (L5) - AioProxies(proxies=[]) now raises a clear 'empty' error, not the misleading 'provide exactly one of' (nit) - a malformed template re-raises with a naming message instead of a bare str.format ValueError (nit). Signed-off-by: disqualifier <dev@disqualifier.me>
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "aioproxies"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
description = "proxy parsing, formatting, health, and pool management for aiohttp/aioweb, camoufox, and socks5"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = []
|
||||
|
||||
Reference in New Issue
Block a user