Skip to content

Update docs references from httpx to httpx2 - #973

Merged
Kludex merged 1 commit into
pydantic:mainfrom
cclauss:docs-httpx-to-httpx2
May 21, 2026
Merged

Update docs references from httpx to httpx2#973
Kludex merged 1 commit into
pydantic:mainfrom
cclauss:docs-httpx-to-httpx2

Conversation

@cclauss

@cclauss cclauss commented May 20, 2026

Copy link
Copy Markdown
Contributor

Fixes: https://httpx2.pydantic.dev/quickstart etc.

Summary

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.

Create a pull request that modifies files in the docs/ directory (and its subdirectories) to change httpx to httpx2. In these files:

  • Change any dependency mentions from httpx to httpx2.
  • Change all imports such as import httpx to import httpx2.
  • Change all from imports such as from httpx import xyz to from httpx2 import xyz.
  • etc.

In the modified files, please replace URLs containing https://github.com/encode/httpx/ with https://github.com/pydantic/httpx2/. Test each modified URL, and if the resource is unreachable, then revert to the original URL that starts with https://github.com/encode/httpx/

The file docs/third_party_packages.md is not ready, so please do:
git checkout main -- docs/third_party_packages.md

Agent-Logs-Url: https://github.com/cclauss/httpx2/sessions/9a801e7e-2c67-43e4-b70e-3c914523170d

@codspeed-hq

codspeed-hq Bot commented May 20, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 7 untouched benchmarks


Comparing cclauss:docs-httpx-to-httpx2 (bb81c59) with main (b4c5940)

Open in CodSpeed

@cclauss
cclauss force-pushed the docs-httpx-to-httpx2 branch from f0f2bc2 to 318161a Compare May 20, 2026 17:13
Agent-Logs-Url: https://github.com/cclauss/httpx2/sessions/9a801e7e-2c67-43e4-b70e-3c914523170d

Co-authored-by: cclauss <3709715+cclauss@users.noreply.github.com>
@cclauss
cclauss force-pushed the docs-httpx-to-httpx2 branch from 318161a to bb81c59 Compare May 20, 2026 17:20

@Kludex Kludex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks so much!

@Kludex
Kludex merged commit 7b7e871 into pydantic:main May 21, 2026
10 checks passed
@cclauss
cclauss deleted the docs-httpx-to-httpx2 branch May 21, 2026 08:48
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.

3 participants