Skip to content

Commit bb5bb32

Browse files
Minor docs fixes (#58)
1 parent 6f3b3d5 commit bb5bb32

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Lets get to work...
3838

3939
```python
4040
>>> import httpx
41-
>>> cli = httpx.Client()
41+
>>> cli = httpx.open_client()
4242
>>> r = cli.get('https://www.example.org/')
4343
>>> r
4444
<Response [200 OK]>

docs/connections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ with httpx.open_connection("http://127.0.0.1:8080") as conn:
134134

135135
---
136136

137-
*Describe `.send()` rationale.*
137+
*Describe `.send()` rationale, and the `Transport` interface.*
138138

139139
---
140140

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Lets get to work...
4444
>>> r = cli.get('https://www.example.org/')
4545
>>> r
4646
<Response [200 OK]>
47-
>>> r.status
47+
>>> r.status_code
4848
200
4949
>>> r.headers['content-type']
5050
'text/html; charset=UTF-8'
@@ -63,7 +63,7 @@ The httpx 1.0 [design proposal](https://staging.d2pg1230p7w6nv.amplifyapp.com/)
6363
* [Requests & Responses](requests-and-responses.md)
6464
* [URLs](urls.md)
6565
* [Headers](headers.md)
66-
* [Content Types](content.md)
66+
* [Content Types](content-types.md)
6767
* [Connections](connections.md)
6868
* [Low Level Networking](networking.md)
6969
* [About](about.md)

0 commit comments

Comments
 (0)