mysociety / popit.poplus.org

DEPRECATED - PopIt Poplus homepage
https://goo.gl/Vvej4Q
Other
1 stars 3 forks source link

suggest supplying -Fmime_type in the image upload examples #38

Open mhl opened 9 years ago

mhl commented 9 years ago

I've observed that if you don't provide the mime_type parameter when uploading an image then it's served back as application/octet-stream - so I'm not sure if this is a documentation bug ("there should be -Fmime_type in the curl examples for image upload") or a PopIt bug ("the MIME type of uploaded images should be inferred, libmagic-style, so you don't need to specify mime_type")