Should throw exception if content type is not set.
Merge pull request #12 from SpOOnman/master

Should throw exception if content type is not set.