W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: [XHR] Open issue: allow setting User-Agent?

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 9 Oct 2012 16:45:54 +0200
Message-ID: <CADnb78gBGg=GHYry2Jf0+RSxNOXRDn3+8RLH_n4RB_JZLHQoUw@mail.gmail.com>
To: "Hallvord R. M. Steen" <hallvord@opera.com>
Cc: Julian Aubourg <j@ubourg.net>, Jungkee Song <jungkee.song@samsung.com>, "public-webapps@w3.org" <public-webapps@w3.org>
On Tue, Oct 9, 2012 at 3:29 PM, Hallvord R. M. Steen <hallvord@opera.com> wrote:
> However, if you consider the CORS angle you'll see that scripts out there
> are already being written to interact with another site's backend, and such
> scripts may face the same challenges as a user script or extension using XHR
> including backend sniffing. That's why experience from user.js development
> is now relevant for general web tech, and why I'm making this argument.

If you consider CORS you also need to consider that if we allow
developers to set user-agent a preflight request would be required for
that header (and the server would need to allow it to be custom). So
it's not quite that simple and would not actually help.


-- 
http://annevankesteren.nl/
Received on Tuesday, 9 October 2012 14:46:21 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:55 GMT