passing request header to a handler