Set content type correctly for request