add support for http header input