registry team mailing list archive
-
registry team
-
Mailing list archive
-
Message #30286
[Bug 686195] Re: proxy.server.best_response doesn't include response headers
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
References