How to use meta tag to declare http Access-Control-Allow-Origin

ir-g picture ir-g · Jun 9, 2013 · Viewed 7.6k times · Source

Access-Control-Allow-Origin is typically declared as an HTTP header to enable a browser to fetch content from remote domains. Is it possible for this to be declared via the HTML <meta> tag?

Answer

Quentin picture Quentin · Jun 9, 2013

No. Only real HTTP headers can be used for this.