changed to always set content-type in header

To work with updated API