File: README

package info (click to toggle)
python-cyclone 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,388 kB
  • ctags: 1,372
  • sloc: python: 8,823; sh: 183; makefile: 13; sql: 12
file content (19 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Port of http://github.com/facebook/tornado/raw/master/tornado/s3server.py (s3 clone on tornado)
TODO:
- plug auth module
- plug riak, redis or another storage besides FS
- be awesome.



RUNNING
$ twistd -ny se.tac

TESTING:
create bucket: $ curl --request PUT "http://localhost:4000/meh/"

put some data (README file): curl --data "@README" --request PUT --header "Content-Type: text/plain" "http://localhost:4000/meh/README"

retrieve: curl http://localhost:4000/meh/README