@Spirit See my post here : Misconfigured content-type on web server?
Depends on file type (JPEG vs JPG ).