Allow content-type to be specified.
Merge pull request #119 from ejholmes/content-type

Allow content-type to be specified.