[tahoe-lafs-trac-stream] [tahoe-lafs] #1428: web-API: rename should use POST, not GET
tahoe-lafs
trac at tahoe-lafs.org
Tue Jul 12 16:56:56 PDT 2011
#1428: web-API: rename should use POST, not GET
-------------------------------------------------+-------------------------
Reporter: davidsarah | Owner:
Type: defect | davidsarah
Priority: major | Status: new
Component: code-frontend-web | Milestone: 1.9.0
Keywords: http standards security forward- | Version: 1.8.2
compatibility backward-compatibility | Launchpad Bug:
-------------------------------------------------+-------------------------
The 'rename' button in WUI directory listings uses GET; it should use POST
because it has side effects.
If we were to immediately remove the support in the web-API for doing a
rename using GET, there would be a compatibility problem with old clients
connecting to a new gateway. But we need to remove the support in order to
conform to the HTTP spec, and to make browser clients do the right thing
(for example they should not resubmit a rename request without user
confirmation, because it's not idempotent).
So, let's do this in two steps:
- in v1.9.0, add support for rename using POST and make the WUI use that
support
- later, remove support for rename using GET.
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1428>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list