added support for pipe on response