diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-02-16 00:20:57 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-02-16 00:20:57 +0100 |
commit | 2b1d2bc45cb09e0df180bcbfdf30859b5ea142c7 (patch) | |
tree | 368dfc19fed4af7a5878f41668daa9a503f3afb3 | |
parent | 3501212e14528807a02f43284423fd274bb19731 (diff) |
Updated the help template.
-rw-r--r-- | templates/help.tmpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/help.tmpl b/templates/help.tmpl index 95748f5..5dc096f 100644 --- a/templates/help.tmpl +++ b/templates/help.tmpl @@ -5,6 +5,7 @@ <p>Usage: POST to <a href="$scheme://$host/u">$scheme://$host/u</a> with filedata given to "file" and original filename to "filename". Login is sent by cookies with user id in "uid" and an identifier which is sha1(uid+sha1(password)).</p> <p>cURL example: - <code>curl -b 'uid=42; identifier=3858f62230ac3c915f300c664312c63f' -F 'file=@image.png' -F 'filename=image.png' http://myhost/u</code> - Here user id is 42 and the password is "foobar".</p> + <code>curl -b 'uid=42; identifier=360b411581c3d516c8d55c290f039b144cea79ad' -F 'file=@image.png' -F 'filename=image.png' http://myhost/u</code> + Here user id is 42 and the password is "foobar". + If you get HTTP 417 responses, try adding:<code>-H 'Expect:'</code></p> #end def |