title: Access-control-allow-origin with multiple domains
body: <p>In my web.config I would like to specify more than one domain for the <code>access-control-allow-origin</code> directive. I don't want to use <code>*</code>. I've tried this syntax:</p>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>&lt;add name="Access-Control-Allow-Origin" value="http://localhost:1506, http://localhost:1502" /&gt;
  </code></pre>
  
  <p>this one </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;add name="Access-Control-Allow-Origin" value="http://localhost:1506 http://localhost:1502" /&gt;
  </code></pre>
  
  <p>this one</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;add name="Access-Control-Allow-Origin" value="http://localhost:1506; http://localhost:1502" /&gt;
  </code></pre>
  
  <p>and this one</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;add name="Access-Control-Allow-Origin" value="http://localhost:1506" /&gt;
  &lt;add name="Access-Control-Allow-Origin" value="http://localhost:1502" /&gt;
  </code></pre>
  
  <p>but none of them work.
  What is the correct syntax ? </p>