File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 ]>
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
4848200
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 )
You can’t perform that action at this time.
0 commit comments