commit d0ec1adb78b26f5c24312090796c69912e9e3da9
Author: Alistair Coles <email address hidden>
Date: Thu May 19 19:58:56 2016 +0100
Make SLO manifest copies retain correct content-type
When copying an SLO manifest with multipart-manifest=get the actual
manifest content-type should get copied to the destination, rather
than the application/json value that is synthesised by SLO in a GET
response. That way the result of a HEAD on the copied manifest is the
same as a HEAD to the source, and the container listings for the two
are consistent.
This patch also un-skips a functional test and adds functional tests
that verify this patch and also verify that etags and size also get
correctly copied and updated in destination container (bug #1260446).
Reviewed: https:/ /review. openstack. org/318891 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=d0ec1adb78b 26f5c2431209079 6c69912e9e3da9
Committed: https:/
Submitter: Jenkins
Branch: master
commit d0ec1adb78b26f5 c24312090796c69 912e9e3da9
Author: Alistair Coles <email address hidden>
Date: Thu May 19 19:58:56 2016 +0100
Make SLO manifest copies retain correct content-type
When copying an SLO manifest with multipart- manifest= get the actual
manifest content-type should get copied to the destination, rather
than the application/json value that is synthesised by SLO in a GET
response. That way the result of a HEAD on the copied manifest is the
same as a HEAD to the source, and the container listings for the two
are consistent.
This patch also un-skips a functional test and adds functional tests
that verify this patch and also verify that etags and size also get
correctly copied and updated in destination container (bug #1260446).
Closes-Bug: #1260446
Closes-Bug: #1583756
Change-Id: Ie7fa82f70b3ec3 ef568f5355c69f6 bce460ba25d