Adding headers to Response.json

As the title suggests, would it be possible to add CORS headers to the response when using Response.json?
Was this page helpful?