swift/test/unit/common
Samuel Merritt 4f24ef87d6 Make DLO manifest copying work with ?multipart-manifest=get
If a client issues a COPY request for a DLO with the query param
multipart-manifest=get, then the expectation is a new
manifest. However, this wasn't the case; X-Object-Manifest wasn't
being set on the new object, so the result was a normal object with
the same contents as the old manifest (typically 0 bytes).

There was already a mechanism by which middlewares could modify COPY
requests; this commit extends that so they can set headers on the new
object.

Note that this has nothing to do with a "normal" DLO copy, i.e. one
without multipart-manifest=get. That one makes a new object that's the
concatenation of the segments, and it was working just fine.

Change-Id: I1073af9fee6e34ebdfad7b1a89aeb05e4523a151
2014-02-27 22:38:53 -08:00
..
middleware Make DLO manifest copying work with ?multipart-manifest=get 2014-02-27 22:38:53 -08:00
ring Use a tempfile.mkdtemp() based temporary directory 2014-01-19 16:29:45 -05:00
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
corrupted_example.db Real files for bad databases. 2011-08-02 18:21:25 +00:00
malformed_example.db Real files for bad databases. 2011-08-02 18:21:25 +00:00
test_bufferedhttp.py Change OpenStack LLC to Foundation 2013-09-20 01:02:31 +08:00
test_constraints.py Move all DLO functionality to middleware 2014-02-03 18:29:48 -08:00
test_container_sync_realms.py New container sync configuration option 2014-01-10 23:48:00 +00:00
test_daemon.py Revert "Refactor common/utils methods to common/ondisk" 2013-10-07 17:18:09 -04:00
test_db.py Fix misspellings in swift 2014-02-20 16:15:48 +08:00
test_db_replicator.py Increases the UT coverage of db_replicator.py 2013-12-03 14:00:22 -03:00
test_direct_client.py Remove an useless dependency to swiftclient 2014-01-16 14:07:48 +01:00
test_exceptions.py Remove swiftclient dep on direct_client 2013-12-24 03:11:43 -08:00
test_internal_client.py Remove swiftclient dependency 2014-02-06 09:44:58 +00:00
test_manager.py Up nproc limit on startup. 2013-12-29 11:35:07 -05:00
test_memcached.py Attempt to make test_memcache_pool_timeout stable 2014-02-03 00:47:09 -05:00
test_request_helpers.py Generic means for persisting system metadata. 2014-01-06 22:29:37 +00:00
test_swob.py Support If-[None-]Match for object HEAD, SLO, and DLO 2014-02-20 14:54:26 -08:00
test_utils.py Merge "Fix fd leak from get_logger() in python 2.6" 2014-02-27 01:56:04 +00:00
test_wsgi.py Move all DLO functionality to middleware 2014-02-03 18:29:48 -08:00