Support setting content type
Merge pull request #3 from orgads/master

Support setting content type