ab58e88c22
This feature was implemented in Havana. Adding a short section explaining it and the single configuration option it references/ Change-Id: I5a2a393a77741ce5964736f1608cd0d4bbd84847 Closes-Bug: 1095496
18 lines
872 B
XML
18 lines
872 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
|
xml:id="object-storage-cores">
|
|
<title>Cross-origin resource sharing</title>
|
|
<para>Cross-Origin Resource Sharing (CORS) is a mechanism to allow code
|
|
running in a browser (JavaScript for example) to make requests to a domain
|
|
other then the one from where it originated. Swift supports CORS requests
|
|
to containers and objects within the containers using metadata held on the
|
|
container.
|
|
</para>
|
|
<para>In addition to the metadata on containers, you can use the
|
|
<option>cors_allow_origin</option> option in the
|
|
<filename>proxy-server.conf</filename> file to set a list of hosts that
|
|
are included with any CORS request by default.</para>
|
|
</section>
|