Or, it may be interesting to refactor best_response to accept a list of webob Response objects.
You can construct a webob response from a httplib.HTTPResponse simply: res = conn.getresponse() resp = Response(status='%s %s' % (res.status, res.reason), headers=res.getheaders(), body=res.read()) responses.append(resp) ** Branch linked: lp:~clay-gerrard/swift/best_response ** Changed in: swift Status: Confirmed => In Progress -- 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 _______________________________________________ Mailing list: https://launchpad.net/~registry Post to : registry@lists.launchpad.net Unsubscribe : https://launchpad.net/~registry More help : https://help.launchpad.net/ListHelp