getsandbox / worker-cli

Sandbox Worker is the core processing component of the Sandbox product
https://getsandbox.com
230 stars 62 forks source link

Support for CORS #2

Closed drewstewart closed 9 years ago

drewstewart commented 10 years ago

CORS headers should be added to responses by default otherwise browsers sure have a hard time making requests.

nhoughto commented 9 years ago

Been done for ages.

klh commented 9 years ago

where and how was this implemented? getsandbox.com sure doesn't add a allow header to the output.,,

drewstewart commented 9 years ago

Hi Klaus,

Can you provide an example please? We replay "Origin" and "Access-Control-Request-Headers" from requests on responses.

airtonix commented 8 years ago

Where is the documentation around this behaviour?

nhoughto commented 8 years ago

Other than being a standard pattern, its not documented i don't think. Will put it on the doco backlog.