added http header support