In certain cases, e.g. with using Internet Explore, this function returns with the value "image/pjpeg".
Using exactly the same picture, on Mozilla based browsers this function returns with the value "image/jpeg".
Note the difference "p" before the slash.
I think it is only true with images created by digital camera and transformed by special softwares, e.g. Photoshop.
However, I think, it is worth to pay attention to this small difference.