Ensured that Content-Type is set correctly
(and includes encoding!)