set content-type header on streams