When using http_request to serve content it occurred to me that when i try to set the access-control-allow-origin through the headers it can’t be changed and always default to *.
There is explicit config in nginx to force those access control headers, see:
We’re discussing if it makes sense to have these set for raw.
On one hand it doesn’t necessarily make sense for that header to be there for raw on the other hand, if we remove it there’s a good chance it will break canisters that rely on those headers being there…