egress handler can also return response object