swift/test/unit/common/middleware
Kun Huang abcecd26a7 utf8 encode tempurl key
In tempurl middleware, hmac uses the value of account metadata to
generate HMAC-SHA1 signature and hmac must accept a str-type string, not
a unicode string. The meta dict returned from get_info stroges special
chars as unicode however. So just encode it for tempurl using.

Closes-Bug: #1242644
Change-Id: I4be62eea014a573efc4748470de57dccf00e431d
2013-10-23 21:19:01 +08:00
..
__init__.py Initial commit of middleware refactor 2010-08-20 00:42:38 +00:00
test_account_quotas.py Fix 500 from account-quota middleware 2013-10-09 12:25:42 -07:00
test_acl.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_bulk.py Merge "Change OpenStack LLC to Foundation" 2013-10-07 16:09:37 +00:00
test_cname_lookup.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_crossdomain.py Corrected many style violations in the tests. 2013-07-24 10:18:47 -07:00
test_domain_remap.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_except.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_formpost.py Add WWW-Authenticate to 401 responses 2013-10-22 15:49:09 +01:00
test_healthcheck.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_keystoneauth.py Add WWW-Authenticate to 401 responses 2013-10-22 15:49:09 +01:00
test_list_endpoints.py Revert "Refactor common/utils methods to common/ondisk" 2013-10-07 17:18:09 -04:00
test_memcache.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_name_check.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_proxy_logging.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_quotas.py Merge "Handle X-Copy-From header in container_quota middleware" 2013-10-10 19:17:54 +00:00
test_ratelimit.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_recon.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_slo.py Merge "Change OpenStack LLC to Foundation" 2013-10-07 16:09:37 +00:00
test_staticweb.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_tempauth.py Add WWW-Authenticate to 401 responses 2013-10-22 15:49:09 +01:00
test_tempurl.py utf8 encode tempurl key 2013-10-23 21:19:01 +08:00