From bce1fc54147bbad14d13fd6db4c90d2fde8c8078 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Fri, 1 Apr 2011 13:09:14 +0300 Subject: s3 uploads work now --- s3/gen_policy.py | 4 ++++ s3/upload.html | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/s3/gen_policy.py b/s3/gen_policy.py index 4d0180c..9cab0c0 100644 --- a/s3/gen_policy.py +++ b/s3/gen_policy.py @@ -19,3 +19,7 @@ policy = base64.b64encode(POLICY) sig = base64.b64encode(hmac.new(KEY, policy, hashlib.sha1).digest()) print sig + +################## +### Or use: http://s3.amazonaws.com/doc/s3-example-code/post/post_sample.html +################## \ No newline at end of file diff --git a/s3/upload.html b/s3/upload.html index b05a599..0e34357 100644 --- a/s3/upload.html +++ b/s3/upload.html @@ -4,13 +4,13 @@ S3 POST Upload Form -
-
+ +


- - + +
-- cgit v1.3.1