Set correct content type for request