<p>The only request headers <a href="http://www.w3.org/TR/cors/#simple-header">permitted</a> for non-preflighted requests are <code>Accept</code>, <code>Accept-Language</code>, <code>Content-Language</code> and <code>Content-Type</code> with certain values. No <code>Cache-Control</code>, no <code>User-Agent</code>, no <code>Referer</code>. So your basic <code>$.get("http://www.openstreetmap.org/api/...")</code> or equivalent <code>$.ajax(...)</code> will always be preflighted.</p>

            <p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
              —<br>
              Reply to this email directly or <a href='https://github.com/openstreetmap/openstreetmap-website/pull/138#issuecomment-9671089'>view it on GitHub</a>.
            </p>
            <img src='https://github.com/notifications/beacon/uTRSc6ihLa7Shf84BpiOpmLWAu4oQih75mggZl1E8_nNfp_iEXETdQVsjYwMcApp.gif' height='1' width='1'>