Is it possible to send a multipart/form-data with python requests without sending a file?
My requests header should look like this:
--3eeaadbfda0441b8be821bbed2962e4d
Content-Disposition: form-data; name="value";
content
--3eeaadbfda0441b8be821bbed2962e4d--
But actually it looks like this:
--3eeaadbfda0441b8be821bbed2962e4d
Content-Disposition: form-data; name="file"; filename="file"
Content-Type: text/plain
content
--3eeaadbfda0441b8be821bbed2962e4d--
I'm using this function:
response = requests.post('url', data, files=('file', 'file'))