support extra header info like charset