]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commit
webapi: use t=mkdir-with-children instead of a children= arg to t=mkdir .
authorBrian Warner <warner@lothar.com>
Mon, 26 Oct 2009 01:13:21 +0000 (18:13 -0700)
committerBrian Warner <warner@lothar.com>
Mon, 26 Oct 2009 01:13:21 +0000 (18:13 -0700)
commit768c76aa5fbe2c7f751866830ab3f00cca27784e
tree83167328688fe5553d34998fa08c2f7c24c43598
parent1273b5c233b076aa22fe187144483fb226ae1753
webapi: use t=mkdir-with-children instead of a children= arg to t=mkdir .

This is safer: in the earlier API, an old webapi server would silently ignore
the initial children, and clients trying to set them would have to fetch the
newly-created directory to discover the incompatibility. In the new API,
clients using t=mkdir-with-children against an old webapi server will get a
clear error.
docs/frontends/webapi.txt
src/allmydata/test/test_web.py
src/allmydata/web/common.py
src/allmydata/web/directory.py
src/allmydata/web/root.py
src/allmydata/web/unlinked.py