W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2005

[whatwg] A thought: <a href="..." method="post">

From: Olav Junker Kjr <olav@olav.dk>
Date: Fri, 13 May 2005 22:28:56 +0200
Message-ID: <42850E08.2030505@olav.dk>
James Graham wrote:
> That seems to be based on the belief that all things which look like 
> links must correspond to idempotent actions. I don't think this is true 
> and, in general, think that trying to couple the user interface to the 
> underlying protocol is a bad idea.

No, its a great idea! ;-)

Most users dont know anything about POST or GET, but I believe its a 
common expectation that you can always safely click links (and then 
press back to return), while you should think twice about pressing a 
form button, since it might indicate that you agree to something or 
wants to buy something or subscribe to a mailinglist or whatever.

I think this coupling between protocol and UI is one of the great ideas 
of the web.

So a link which performs a unsafe action is not just wrong according to 
HTTP, its also bad UI.

Olav Junker Kj?r
Received on Friday, 13 May 2005 13:28:56 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:41 UTC