CORS Access-Control-Allow-Origin

How can I add a head e.g.

Access-Control-Allow-Origin: http://www.somesite.com

to the response that is sent by the Webdev module?

request[‘servletResponse’].addHeader(“Access-Control-Allow-Origin”,“http://www.somesite.com”)

1 Like

Thank you, Jonathon. And, I wanted to find some button to press indicating that this answered my question. But, couldn’t find one. Hopefully I haven’t missed one.