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ā€)

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.