* Update the s3 post functionality to better support success_action_redirect
- Add the bucket/key values to the redirect url like s3 does, which
supports code that relies on the key value being there on the
redirect.
- Add support for replacing ${filename} in the key value with the actual
filename from the form upload.
See Issue #3667
* Update s3 tests for changed success_action_redirect behavior
- Adds a new test called test_s3_server_post_to_bucket_redirect that
tests both the ${filename} replacement and the key/value addition to the
redirect query args
- Updated the test_creating_presigned_post checks to handle the
key/value additions to the redirect url.
* Fix test updates to work with python2.7
- remove f-string usage
- fix urllib.parse imports to use six
Co-authored-by: Wynn Wilkes <wynn@leading2lean.com>
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| red.jpg | ||
| test_s3.py | ||
| test_s3_cloudformation.py | ||
| test_s3_lifecycle.py | ||
| test_s3_storageclass.py | ||
| test_s3_utils.py | ||
| test_server.py | ||