Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdef4778

Browse files
authored
Fixed a syntax error in the file upload example (#3692)
1 parent435e1da commitdef4778

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-
>>>withopen('report.xls','rb') report_file:
194+
>>>withopen('report.xls','rb')asreport_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)

[8]ページ先頭

©2009-2025 Movatter.jp