Skip to content

Fallback to httpx when requests isn't installed - #1495

Open
JuneStepp wants to merge 1 commit into
mvantellingen:mainfrom
JuneStepp:httpx-fallback
Open

JuneStepp wants to merge 1 commit into
mvantellingen:mainfrom
JuneStepp:httpx-fallback

Conversation

@JuneStepp

Copy link
Copy Markdown
Contributor

This allows httpx based projects to not have an extra dependency on requests.

I've been using this patch for a couple of years now.

This allows httpx based projects to not have an extra dependency on
requests.
@cvas22

cvas22 commented Nov 21, 2026

Copy link
Copy Markdown

Tried this with only httpx installed. MTOM replies blow up in Attachment since httpx.Headers gives back str keys, and file:// wsdl urls and 302 redirects no longer work. Also requests is still a hard dep in pyproject, so pip keeps pulling it in anyway.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants