marklogic/ml-rest-lib — Issue #1: Implement cross-origin resource sharing (CORS)
Author: jmakeig
Created: 2011-10-08 21:48:20+00:00
State: open

There's some relatively straightforward HTTP magic that will allow browser clients to access resources on different domains via AJAX. I'd like to be able to configure `Access-Control-Allow-Origin` and `Access-Control-Allow-Credentials` response headers on an individual resource level as well as globally in my REST services.

See http://www.w3.org/TR/cors/ and https://developer.mozilla.org/En/HTTP_access_control.