#3781·httpx

ADD PROXY _DICT SUPPORT into this latest HTTPX

Author: yashveerkcCreated Feb 25, 2026Updated Feb 25, 2026

The starting point for issues should usually be a discussion...

https://github.com/encode/httpx/discussions

Possible bugs may be raised as a "Potential Issue" discussion, feature requests may be raised as an "Ideas" discussion. We can then determine if the discussion needs to be escalated into an "Issue" or not.

This will help us ensure that the "Issues" list properly reflects ongoing or needed work on the project.


  • Initially raised as discussion #...

Please bring back the proxy_dictionary because its a pain to make this new httpx 0.28.1 without a DOWNGRADE bro.

it doesnt support proxy_dict so i had to convert , its becoming a headache ...

def get_httpx_proxy(proxy): if not proxy: return None scheme = proxy["type"] ip = proxy["ip"] port = proxy["port"] auth = proxy["auth"] if auth: user, pwd = auth proxy_url = f"{scheme}://{user}:{pwd}@{ip}:{port}" else: proxy_url = f"{scheme}://{ip}:{port}" return { "http://": proxy_url, "https://": proxy_url }