clean the content.

You also want to test the order. (Header values cannot be set after the stream was written to)