This resource behaves two-fold:
- If accessed from a resource with an ORIGIN header value equal to
http://arunranga.com
(i.e. from an API container for the access-control protocol, such as XMLHttpRequest
) it is an application/xml resource that can get parsed by content on arunranga.com, typically using DOM APIs - If accessed from any other origin including from simply typing in the URL into the browser's address bar,you get this HTML document (at URL http://aruner.net/resources/access-control-with-get/index.php which you are reading from now :-) .)