pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/encode/httpx/pull/3749

om/assets/global-b40ec823a1a6a1af.css" /> Implement support for specifying the httpcore Network Backend when creating default transports by iciclespider · Pull Request #3749 · encode/httpx · GitHub
Skip to content

Implement support for specifying the httpcore Network Backend when creating default transports#3749

Open
iciclespider wants to merge 2 commits intoencode:masterfrom
iciclespider:network-backend
Open

Implement support for specifying the httpcore Network Backend when creating default transports#3749
iciclespider wants to merge 2 commits intoencode:masterfrom
iciclespider:network-backend

Conversation

@iciclespider
Copy link
Copy Markdown

@iciclespider iciclespider commented Jan 26, 2026

Summary

This enables specifying the httpcore Network Backend when creating the default transports as discussed here: #3180

Checklist

  • I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.

@iciclespider iciclespider force-pushed the network-backend branch 11 times, most recently from 83cfa9b to 9559fa4 Compare January 27, 2026 01:00
…eating default transports

Signed-off-by: Patrick J. McNerthney <patrick.mcnerthney@fortra.com>
Comment thread docs/advanced/transports.md Outdated

```pycon
>>> import httpx
>>> import myk8s
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Author

@iciclespider iciclespider Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a theoretical package that returns a theoretical NetwokBackend. Any suggestion for an alternative would be welcome.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the network backend examples to use httpcore.MockBackend.

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

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy