Design flaw in HTML?

Apparently because of some user complains about wierd behavior when using The Google Accelerator, the old When to use GET document has become popular. The idea is in a web page to use <a href=.. whenever the operation is “safe” and to use <form action=post… whenever the action is “unsafe”. A classic unsafe operation is, say, deleting a record from a database – it can’t be invoked twice, and you don’t want the browser or some other caching system to speculatively fetch such a URL.

Well the design flaw is, how come with <a> you can’t specify that you want to use POST instead of GET? With <form> you can say <form action=post or <form action=get—now how come you can’t say <a action=POST href=…>…<a>? It seems logical and orthogonal doesn’t it?

Leave a Reply »»