Add the ability to specify the content type

The API also [supports](http://msdn.microsoft.com/en-us/library/ff512406.aspx) HTML as a content type which could be useful.

It's kind of hard to test but the change is quite basic.