You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to upload file using python request. However the uploaded file also has headers in it
e.g
My original file is as below
cat /tmp/file1
file 1
I am trying to upload file using python request. However the uploaded file also has headers in it
e.g
My original file is as below
cat /tmp/file1
file 1
My uploaded file contains :
cat ~/Downloads/file1
--d0fc8ad134ce4ffab253f2aba200458e
Content-Disposition: form-data; name="/tmp/file1"; filename="file1"
Content-Type: application/binary
file 1
--d0fc8ad134ce4ffab253f2aba200458e--
I have tried multiple combinations of content type and disposition however it isnt working.
The text was updated successfully, but these errors were encountered: