Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 23, 2013
An "enum" for Python 3
An unexpected perf feature
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
Then you could provide better UI for the standard application and session layer authentication mechanisms. Do browsers even provide UI for generating X.509 or Berkeley tcpcrypt certificates?
Doctorow: The Curious Case of Internet Privacy (Technology Review)
Posted Jun 7, 2012 21:49 UTC (Thu) by dlang (✭ supporter ✭, #313)
A large part of the REST fad is based on eliminating posts (and ideally cookies as well, but posts first)
Posted Jun 8, 2012 2:50 UTC (Fri) by bjartur (guest, #67801)
Not necessarily all POSTs. Don't go around replacing POST forms with GET ones, unless you understand that GET ones SHOULD NOT have the significance of taking an action
other than retrieval.
SHOULD NOT have the significance of taking an action
other than retrieval
PUT is, however sadly,
supported so badly
in HTML and others
that no-one bothers.
Posted Jun 8, 2012 3:08 UTC (Fri) by dlang (✭ supporter ✭, #313)
Posted Jun 8, 2012 6:51 UTC (Fri) by farnz (guest, #17727)
A browser is also allowed to send a GET without user interaction - e.g. to prefetch a link that the browser's heuristics suggest will turn out interesting. A POST cannot be sent without user interaction.
Posted Jun 8, 2012 17:05 UTC (Fri) by bjartur (guest, #67801)
You're thinking of the idempotent methods. GET is idempotent, along with PUT and DELETE. Once sent, they can be resent a number of times (as long as the Date header is kept intact). But furthermore, GET is safe, and can thus be sent, as already mentioned, even without the intention to permanently modify the state of the server.
In short, a GET request should at worst result in consumption of scarce bandwidth.
Then there are TRACE and OPTIONS, which should have no side-effects beyond those inherent in the transmission of HTTP messages itself.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds