← Back to team overview

registry team mailing list archive

[Bug 686195] [NEW] proxy.server.best_response doesn't include response headers

 

Public bug reported:

The DELETE & POST methods in the proxy's controllers use best_response
to construct an basic WebOb Response based on the http responses from
the storage nodes.  GETorHEAD_base also uses best_response - but only
for non 200 responses.

best_response does not accept a parameter to represent the storage nodes
response headers.  In some cases the header information can be relevant
to the user.  e.g. 'etag', 'content-range', 'x-object-meta'

best_response already supports an optional kwarg to support etag, a
similar approach could be used for headers in general.

** Affects: swift
     Importance: Low
     Assignee: clayg (clay-gerrard)
         Status: Confirmed


** Tags: proxy

-- 
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack Object Storage (swift).
https://bugs.launchpad.net/bugs/686195

Title:
  proxy.server.best_response doesn't include response headers



Follow ups

References