Do you know if I can send to browser the MIME type image/jpeg even if the image I am outputting is image/Pjpeg? Or are they different format?
Do you know if I can send to browser the MIME type image/jpeg even
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe most browsers wouldn’t mind, except Internet Explorer which treats pjpeg files differently.
According to this conversation, you should accept both image/pjpeg and image/jpeg from your clients as upload mime types, but force the image/jpeg when serving downloads.