Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 1de1b94

Browse files
authored
Merge pull request #58 from sethmlarson/patch-1
Fix broken link from http3 -> httpx
2 parents 148a96e + 750073d commit 1de1b94

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

2-
**This work has been overtaken by the `http3` project:** https://www.encode.io/http3/
2+
**This work has been overtaken by the `httpx` project:** https://github.com/encode/httpx
33

4-
We now recommend using `http3.AsyncClient()` for async/await support with a requests-compatible API.
4+
We now recommend using `httpx.AsyncClient()` for async/await support with a requests-compatible API.
55

66
**Note**: Use `ipython` to try this from the console, since it supports `await`.
77

88
```python
9-
>>> import http3
10-
>>> client = http3.AsyncClient()
9+
>>> import httpx
10+
>>> client = httpx.AsyncClient()
1111
>>> r = await client.get('https://www.example.org/')
1212
>>> r.status_code
1313
200
@@ -146,9 +146,9 @@ async def test_homepage():
146146

147147
## Alternatives
148148

149-
* The [`http3` package][http3] both sync and async HTTP clients, with a requests-compatible API.
149+
* The [`httpx` package][httpx] both sync and async HTTP clients, with a requests-compatible API.
150150
* The [`aiohttp` package][aiohttp] provides an alternative client for making async HTTP requests.
151151

152152
[issues]: https://github.com/encode/requests-async/issues
153153
[aiohttp]: https://docs.aiohttp.org/en/stable/client.html
154-
[http3]: https://github.com/encode/http3
154+
[httpx]: https://github.com/encode/httpx

0 commit comments

Comments
 (0)