swift/swift
Walter Doekes a8c2b46da6 tempurl: Fix PUT upload to temp url on py3
Without this change, the self._response_headers gets a dict_items() type
on PUT. But the rest of the code assumes that it is a list.

Bug manifestation:

    File "swift/common/middleware/catch_errors.py", line 120,
        in handle_request
      self._response_headers.append(('X-Trans-Id', trans_id))
  AttributeError: 'dict_items' object has no attribute 'append'

Closes-Bug: #1929083
Change-Id: I5c398b6008716b64c668737e4201ba3b6ab3320b
(cherry picked from commit 77530136f1)
2021-05-21 18:41:23 +00:00
..
account Allow direct and internal clients to use the replication network 2020-08-04 21:22:04 +00:00
cli Merge "Update SAIO & docker image to use 62xx ports" 2020-08-01 02:39:00 +00:00
common tempurl: Fix PUT upload to temp url on py3 2021-05-21 18:41:23 +00:00
container Populate shrinking shards with shard ranges learnt from root 2021-02-22 18:29:48 -06:00
locale Imported Translations from Zanata 2020-04-26 08:59:11 +00:00
obj Allow direct and internal clients to use the replication network 2020-08-04 21:22:04 +00:00
proxy Avoid loops when gathering container listings from shards 2021-02-22 18:39:09 -06:00
__init__.py Suppress CryptographyDeprecationWarnings 2020-08-26 13:09:41 -07:00