Comment 3 for bug 1613316

Revision history for this message
Alistair Coles (alistair-coles) wrote :

You can retrieve the manifest object itself (as opposed to the concatenated segments that it points to) by using a multipart-manifest=get query string with a GET or HEAD request. See [1].

Otherwise, RFC 7231 [2] disallows sending different response headers for a HEAD than a GET so if the GET for a DLO does not resolve the segments and returns 404, the HEAD must do the same.

There is a note here [3] that segments must be sync'd as well as manifests [3], but it could be clearer that the source and target container names must be the same.

[1] http://developer.openstack.org/api-ref-objectstorage-v1.html#showObject
[2] https://tools.ietf.org/html/rfc7231#section-4.3.2
[3] http://docs.openstack.org/developer/swift/overview_container_sync.html