Skip to content

Commit 2e5f203

Browse files
authored
Merge branch 'master' into patch-1
2 parents df19b76 + def4778 commit 2e5f203

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ You can also explicitly set the filename and content type, by using a tuple
191191
of items for the file value:
192192

193193
```pycon
194-
>>> with open('report.xls', 'rb') report_file:
194+
>>> with open('report.xls', 'rb') as report_file:
195195
... files = {'upload-file': ('report.xls', report_file, 'application/vnd.ms-excel')}
196196
... r = httpx.post("https://httpbin.org/post", files=files)
197197
>>> print(r.text)

0 commit comments

Comments
 (0)