Pretty simple question but can\'t seem to find it anywhere online. I\'m trying to make a program that depending on the file type will give me the extension.
For those it might help, I use this list as a reference to define my content-type when I have to deal with images on my app.
It says that jpg extension can be declared with Content-type : image/jpeg
Content-type : image/jpeg
There isn't any image/jpg attribute for content-type.
image/jpg