1、在浏览器中预览是时候,application/octet-stream会直接下载,image/jpeg是直接显示图片出来。
2、
MediaTypes.`image/png`,和Content-Type.`application/octet-stream`
`
1、在浏览器中预览是时候,application/octet-stream会直接下载,image/jpeg是直接显示图片出来。
2、
MediaTypes.`image/png`,和Content-Type.`application/octet-stream`
`