Integration Server 10.3 | REST Developer’s Guide | About Integration Server REST Processing | Sending Responses to the REST Client | Setting Responses Using pub.flow:HTTPResponse
 
Setting Responses Using pub.flow:HTTPResponse
The pub.flow:HTTPResponse document type helps you to set the response headers. You can add a reference of pub.flow:HTTPResponse document type with the name $httpResponse to the pipeline and use this pipeline variable instead of invoking the pub.flow:setResponseCode, pub.flow:setResponseHeader, and pub.flow:setResponse services to set the response headers.
For more information, see pub.flow:setResponse.