Skip to content

Commit

Permalink
Fix sample in quickstart.md (#2747)
Browse files Browse the repository at this point in the history
  • Loading branch information
izeye committed Jun 22, 2023
1 parent 6d183a8 commit 2e2949c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ If you're using streaming responses in any of these ways then the `response.cont

```pycon
>>> with httpx.stream("GET", "https://www.example.com") as r:
... if r.headers['Content-Length'] < TOO_LONG:
... if int(r.headers['Content-Length']) < TOO_LONG:
... r.read()
... print(r.text)
```
Expand Down

0 comments on commit 2e2949c

Please sign in to comment.