htmlcross-domainmetacross-domain-policy

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


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?


Solution

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