mirror of https://github.com/perkeep/perkeep.git
include username in upload post
This commit is contained in:
parent
8c78fe79ea
commit
4c91943940
|
@ -14,6 +14,9 @@ handlers:
|
||||||
login: admin
|
login: admin
|
||||||
script: main.py
|
script: main.py
|
||||||
|
|
||||||
|
- url: /js
|
||||||
|
static_dir: ../../clients/js
|
||||||
|
|
||||||
- url: .*
|
- url: .*
|
||||||
secure: always
|
secure: always
|
||||||
script: main.py
|
script: main.py
|
||||||
|
|
|
@ -9,7 +9,7 @@ BSPASS=foo
|
||||||
curl -u user:$BSPASS -d camliversion=1 http://$BSHOST/camli/preupload
|
curl -u user:$BSPASS -d camliversion=1 http://$BSHOST/camli/preupload
|
||||||
|
|
||||||
# Upload -- 200 response
|
# Upload -- 200 response
|
||||||
curl -v -L \
|
curl -u user:$BSPASS -v -L \
|
||||||
-F sha1-126249fd8c18cbb5312a5705746a2af87fba9538=@./test_data.txt \
|
-F sha1-126249fd8c18cbb5312a5705746a2af87fba9538=@./test_data.txt \
|
||||||
#<the url returned by preupload>
|
#<the url returned by preupload>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue