Added MIME based content type detection
Fixed type that prevented GIF detection
Merge pull request #2 from alexander255/master

Added MIME based content type detection