W3C home > Mailing lists > Public > public-appformats@w3.org > January 2008

RE: Comments on: Access Control for Cross-site Requests

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 3 Jan 2008 01:44:59 +0000 (UTC)
To: "Close, Tyler J." <tyler.close@hp.com>
Cc: Jonas Sicking <jonas@sicking.cc>, Anne van Kesteren <annevk@opera.com>, "public-appformats@w3.org" <public-appformats@w3.org>
Message-ID: <Pine.LNX.4.62.0801030142280.23371@hixie.dreamhostps.com>

On Thu, 3 Jan 2008, Close, Tyler J. wrote:
> 
> So what exactly do you guys mean by: "the author does not have the 
> access (or ability) to configure the server or write cgi scripts"? How 
> do I put an "Access-Control" HTTP header on a non-XML file if I can't 
> configure the server in any way? If this cannot be done, does this mean 
> that the current proposal does not support cross-domain JSON for this 
> deployment scenario?

Yes; the proposal is primarily intended for XML. The HTTP header was added 
later as a way to allow non-XML files to be used as well, but it wasn't 
part of the initial design or intent.

(Having said that, it's also a lot easier to add a single HTTP header than 
it is to add CGI scripts or magic files in specific locations, let alone 
scripts that respond to OPTIONS, and that itself is still far easier than 
upgrading the entire server.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 3 January 2008 01:45:10 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:56:21 UTC