Forum Discussion
del
9 years agoContributor III
@AdrianH, I have run into similar cases. I think this would be a valuable enhancement request:
To allow the standard pipeline HTTP Response to be overridden by either an “HTTP Response” snap (or ability to create a custom override snap), or the most convenient way would be allowing to set HTTP Response value(s) to the “pipe” object in an array within the Pipeline flow (ex. pipe.HttpResponse.addReplace(‘headerName’,‘headerValue’)).
Pipeline parameters or Pipeline-specific configuration would not work in this case because you need the ability to determine response based on pipeline execution results.