wynnw 891118a7c7
#3667: Update the s3 post functionality to better support success_action_redirect (#3668)
* 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>
2021-02-10 09:06:03 +00:00
..
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2021-02-02 16:31:26 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2021-01-29 11:31:56 +00:00
2021-02-02 16:31:26 +00:00
2021-01-29 11:31:56 +00:00
2021-02-02 15:21:16 +00:00
2020-11-11 15:55:37 +00:00
2021-02-01 11:37:54 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2020-11-11 15:55:37 +00:00
2021-02-02 16:31:26 +00:00
2020-11-11 15:55:37 +00:00
2021-02-02 16:31:26 +00:00
2021-01-29 11:31:56 +00:00
2020-11-11 15:55:37 +00:00
2021-01-29 11:31:56 +00:00