[foaf-dev] Multiple language foaf descriptions
Toby Inkster
tai at g5n.co.uk
Mon Jun 28 11:19:28 CEST 2010
On Mon, 28 Jun 2010 10:44:42 +0200
Story Henry <henry.story at bblfish.net> wrote:
> So I think I remember that there is a header for language preferences
> too.
Yep - instead of Accept/Content-Type, you negotiate on
Accept-Language/Content-Language. (And of course, it's possible to do
negotiate on both.)
If doing content negotiation, remember to set the Vary header
correctly. This helps intermediate caches do the right thing.
--
Toby A Inkster
<mailto:mail at tobyinkster.co.uk>
<http://tobyinkster.co.uk>
More information about the foaf-dev
mailing list