Changed content-type to plain or xml