buaazp / zimg

A lightweight and high performance image storage and processing system.
http://zimg.buaa.us
BSD 3-Clause "New" or "Revised" License
2.69k stars 401 forks source link

关于上传content-Type类型为jpeg #231

Open ackamen opened 5 years ago

ackamen commented 5 years ago

使用raw-post 方式上传数据时,content-type 需要设置为allowed_type 允许的值。

但allowed_type不是标准的mime type ,在使用某些内置类型检查的服务器端语言(例如c#)构造http请求上传图片时会造成一些困扰。

是否可以考虑将此allowed_type 规定为mime-type?