EDS content negotiation in Chromium
Peter Schober
peter.schober at univie.ac.at
Fri Mar 1 08:54:41 EST 2013
* Rod Widdowson <rdw at steadingsoftware.com> [2013-03-01 10:46]:
> As I recall (and this was a painful part of the EDS) this is a bit of a
> disaster area. You see those nice setting that the browser gives you, well
> they are for the server and there is no way to get hold of them in
> javascript save getting the server to bounce them back down to you...
Yes, I wasn't thinking clearly about the JS vs HTTP issue, sorry.
So Chromium does not expose the language via JS the way FF does.
The roundtrip-to-server thing though seems ot be a good fit for the
EDS specifically: Given that the EDS is pretty much tailor-made for
the Shib SP and only works by making calls to the DiscoFeed handler,
wouldn't it be easiest (and compatible with any browser) to echo the
accept-language header back from the handler and process it within the
EDS?
The EDS mustn't fall over if the additional info was (or wasn't) in
the feed, of course, and once the Shib SP was updated it would prefer
the feed-provided language set over its own local trickery.
-peter
More information about the dev
mailing list