- From: Anne van Kesteren <annevk@opera.com>
- Date: Sun, 19 Jun 2011 15:28:26 +0200
- To: public-webapps@w3.org, "Paula Decker" <paulad@rmi.net>
On Thu, 16 Jun 2011 21:14:31 +0200, Paula Decker <paulad@rmi.net> wrote: > The problem is that the HttpListener object has a method, getContext > where it can receive a request. Can I assume that the header has been > set in this request? If so, I can return Access-Control-Allow-Origin > back. At this point, does the requestor need to send me a new request > to contain the actual request...how does it work? No, you include the header in the resource requested. Assuming this is for a simple cross-origin request. http://dev.w3.org/2006/waf/access-control/#resource-requests has details for server implementors. http://dev.w3.org/2006/waf/access-control/#introduction has some examples in the end. -- Anne van Kesteren http://annevankesteren.nl/
Received on Sunday, 19 June 2011 13:28:57 UTC