response 中 mimetype 的常用属性
-
text/html(默认的,html文件)
-
text/plain(纯文本)
-
text/css(css文件)
-
text/javascript(js文件)
-
application/x-www-form-urlencoded(普通的表单提交)
-
multipart/form-data(文件提交)
-
application/json(json传输)
-
application/xml(xml文件)
-
image/jpeg