response.set(key, value)
Set a header attribute, for example:
@EXAMPLES
response.set("Content-Length", 123); response.set("Content-Type", "text/plain");
or alternatively:
response.set({ "Content-Length": "123", "Content-Type": "text/plain" });