Brian Warner
433802f5ca
trailing-whitespace eradication, no functional changes
2007-11-01 15:28:58 -07:00
Zooko O'Whielacronx
81e0820904
cli: use urllib.quote() on vdrive-path arguments before passing them through HTTP
2007-10-26 18:30:44 -07:00
Brian Warner
f0e727867a
cli: simplify code by using stdlib's httplib module
2007-10-11 22:29:23 -07:00
Brian Warner
8985b6565d
cli: add test coverage
2007-10-11 19:20:41 -07:00
Brian Warner
a470947cc3
cli: use urllib.escape on all URIs
2007-10-11 01:34:44 -07:00
Brian Warner
5b28411b04
cli: add --node-directory and --root-uri to all commands
2007-10-11 00:30:36 -07:00
Brian Warner
ac358fc32f
tahoe_put.py: hush pyflakes by removing unused 'sys' import
2007-08-17 16:29:50 -07:00
Zooko O'Whielacronx
0c22044f7e
command-line: remove the --vdrive option (it is now hardcoded to "global")
2007-08-23 13:27:00 -07:00
Zooko O'Whielacronx
9996836d23
command-line: fix ticket #111 by requiring input to be a local file and sending Content-Length header
2007-08-17 14:59:49 -07:00
Zooko O'Whielacronx
a12ef1ae82
command-line: add "rm", and tidy-up variable names, and make it so "allmydata-tahoe spam" prints a usage message instead of returning silently
2007-08-17 13:23:16 -07:00
Zooko O'Whielacronx
e554962ac3
command-line: remove some redundant options checking
2007-08-17 13:06:43 -07:00
Zooko O'Whielacronx
bffd0c97f5
command-line: fix all three commands and all two ways to invoke them to require node-url and give a useful usage string if node-url is absent or of the wrong form
2007-08-17 12:54:47 -07:00
Zooko O'Whielacronx
e4f07a975f
tahoe_put.py: don't treat "^HTTP 200 OK" appearing somewhere in the body as if it appeared in the header
2007-08-17 12:06:41 -07:00
Zooko O'Whielacronx
7e8c6eb50b
tahoe_put.py: require node-url to be provided
2007-08-17 12:06:11 -07:00
Zooko O'Whielacronx
1564987e6c
put now exits after doing its work, and it prints a terse message if 200 or 201, and a full dump of response elsewise
2007-08-16 16:30:39 -07:00
Zooko O'Whielacronx
6ed3a23c62
incomplete version of tahoe-put.py
...
It doesn't exit properly afterward, and it might not do the best things with non-success responses from the server.
(See tahoe-put-web2ish.py for an example of better response handling.)
2007-08-16 16:01:01 -07:00