AccessControl
Added by psadauskas
at October 09, 2009 23:29
GitHub stats:
watcher(s)
fork(s)
About
Sets the HTTP Access-Control headers to allow for Cross-Domain Ajax requests. Only supported in the most modernest browsers.
See https://developer.mozilla.org/en/HTTP_access_control for details on Access Control
Usage
Options:
allow_origin: The origin servers allowed to make requests to this server.
allow_methods: Methods permitted to be performed.
allow_credentials: Weather or not requests with credentials (basic/digest auth) are permitted.
allow_headers: Additional headers allowed to be set when making a request.
max_age: How long before the client has to make another "pre-flight" request.
