Hello,
I am writing a Flask web server that must accept binary file uploads as
application/x-www-form-urlencoded. E.g. with CURL I would expect to upload
a file as:
curl -XPOST -H'Content-type: image/jpeg' --data-binary '@my_image.jpg'
http://localhost:5000/upload
Rather than:
curl -XPOST
Errata: in the second to last line I meant:
I would like to access the uploaded file from "request.files" at all times,
even if not uploaded as multipart/form-data, and use all the convenience
methods available for that.
On Thursday, November 2, 2017 at 4:16:24 PM UTC-5, Ste