W3C home > Mailing lists > Public > www-talk@w3.org > November to December 2008

Re: Change language. POST or GET

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 22 Dec 2008 12:49:45 +0100
Message-ID: <494F7ED9.2030500@gmx.de>
To: Carlos Tejo Alonso <carlos.tejo@fundacionctic.org>
CC: www-talk@w3.org

Carlos Tejo Alonso wrote:
> Maybe I have express myself wrong. I will try again with an example:
> I am abroad, using a shared pc with arabic language as default. I send a
> request to the URL http://www.example.org/doc. By content negociation, a
> server will response with a page written in arabic. In that moment, I
> want to change the language of the content, and the return page should
> be again http://www.example.org/doc.
> What would be the correct approach ?
> - a link that invokes a HTTP GET method
> - a button that invokes a HTTP POST method

It seems to be that you're changing the state of the server, thus GET 
would be incorrect.

BR, Julian
Received on Monday, 22 December 2008 11:50:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:07 UTC