support setting headers