Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPEG vs JPG in content type #78

Open
ghost opened this issue Aug 4, 2016 · 1 comment
Open

JPEG vs JPG in content type #78

ghost opened this issue Aug 4, 2016 · 1 comment
Milestone

Comments

@ghost
Copy link

ghost commented Aug 4, 2016

Hi,

Just wondering what the best approach is to resolve this issue:

We have images that are being uploaded and the content type is being set as image/jpeg but your valid types only include jpg. Should I create a pull request to add this type with additional test cases?

other formats might include:

jpg
.jpeg
.jpe
.jif
.jfif
.jfi

Thanks.

John

@nypinstripes
Copy link

@jlongie according to https://stackoverflow.com/questions/33692835/is-the-mime-type-image-jpg-the-same-as-image-jpeg , image/jpeg is the proper mime for jpgs. I'd imagine they're deriving the field from the file extensions.

@netroy netroy added this to the 1.0.0 milestone Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants