I want to set a header variable within a JavaScript based web script - I do not want to rewrite the entire script in Java as an extension from AbstractWebScript.
I did not find anything in the documentation how to access the response object in a web script. Is it even possible?
neither the request nor response object are mapped into parameters for the script execution. The web script runtime only maps request-derived parameters and response is always handled only via 'status' and the response template.