summaryrefslogtreecommitdiff
path: root/s3/gen_policy.py
diff options
context:
space:
mode:
Diffstat (limited to 's3/gen_policy.py')
-rw-r--r--s3/gen_policy.py4
1 files changed, 4 insertions, 0 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