adding content-types for write requests
Merge pull request #90 from deepblue/more_content_type_fix

adding content-types for write requests