[Vuejs]-Display Content-Type: application/jpeg result on webpage

1👍

From what I can find online, application/jpeg is not a valid Content-Type header. You should use the according header image/jpg or image/jpeg.

See Is the MIME type 'image/jpg' the same as 'image/jpeg'? and https://www.w3.org/Graphics/JPEG/

EDIT:
You may also want to try to manually set (or unset) your Content-Disposition header.

0👍

In addition to the invalid Content-Type you’re using, Content-Disposition: attachment tells the browser to save it instead of showing it. Remove that.

Leave a comment