Created
July 26, 2016 21:10
-
-
Save pauldardeau/0785508372425291ae1a3369d92ae6cd to your computer and use it in GitHub Desktop.
swift temporal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Verify that tempurl is in proxy pipeline | |
| Add 'methods' to tempurl config section in proxy-server.conf | |
| [filter:tempurl] | |
| use = egg:swift#tempurl | |
| methods = GET HEAD PUT DELETE POST | |
| swift post -m "Temp-URL-Key: my_super_secret_key" | |
| swift tempurl GET 3600 /v1/AUTH_test/test-container/test.txt my_super_secret_key | |
| /v1/AUTH_test/test-container/test.txt?temp_url_sig=d916b6a9c56f37c5ee6f0bf08db898d22697099c&temp_url_expires=1469569156 | |
| wget 'http://127.0.0.1:8080/v1/AUTH_test/test-container/test.txt?temp_url_sig=d916b6a9c56f37c5ee6f0bf08db898d22697099c&temp_url_expires=1469569156' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment