W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2004

Precedence Accept/Accept-Language

From: Reto Bachmann-Gmuer <reto@gmuer.ch>
Date: Mon, 08 Mar 2004 13:34:18 +0100
Message-ID: <404C684A.8070008@gmuer.ch>
To: ietf-http-wg@w3.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello

I'm implementing an http-server an I'm insecure on how to handle the
priorities in content-negotiation.

Suppose a client sends a request with

Accept: text/html, text/xml; q=.8
Accept-Language: de, en; q=.8


The server has a text/xml version in en and de, but text/html only in
en, which version should be returned? Should it behave differntly with


Accept: text/html, text/xml; q=.8
Accept-Language: de, en; q=.6

or


Accept: text/html, text/xml; q=.6
Accept-Language: de, en; q=.8

Thanks for your help!

Reto
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFATGhJD1pReGFYfq4RAq7oAJoDK57gyOEbqi77NVwlrNkLnmLn3wCfczvQ
BSWFAlNC5WzfGji387MxJHI=
=L8gv
-----END PGP SIGNATURE-----
Received on Monday, 8 March 2004 07:34:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:49:27 GMT