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
|
||||
script: main.py
|
||||
|
||||
- url: /js
|
||||
static_dir: ../../clients/js
|
||||
|
||||
- url: .*
|
||||
secure: always
|
||||
script: main.py
|
||||
|
|
|
@ -9,7 +9,7 @@ BSPASS=foo
|
|||
curl -u user:$BSPASS -d camliversion=1 http://$BSHOST/camli/preupload
|
||||
|
||||
# Upload -- 200 response
|
||||
curl -v -L \
|
||||
curl -u user:$BSPASS -v -L \
|
||||
-F sha1-126249fd8c18cbb5312a5705746a2af87fba9538=@./test_data.txt \
|
||||
#<the url returned by preupload>
|
||||
|
||||
|
|
Loading…
Reference in New Issue