Skip to content

Commit bdae738

Browse files
committed
Fix(http_example_multipart_form_data): Missing the headers param of post method.
1 parent d71944e commit bdae738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network-comm/net-protocols/http/example_multipart_form_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
data += b'\r\n'
2323
data += b'--' + bytes(boundary.encode()) + b'--'
2424

25-
request.post(url, data=data)
25+
request.post(url, headers=headers, data=data)

0 commit comments

Comments
 (0)