|
|
@ -84,7 +84,7 @@ class SwiftHTTPRequestHandler(BaseHTTPRequestHandler):
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
objs = set(['%s/result.tar' % r for r in self.results[container]])
|
|
|
|
objs = set(['%s/result.tar' % r for r in self.results[container]])
|
|
|
|
except KeyError:
|
|
|
|
except KeyError:
|
|
|
|
self.send_error(404, 'Container does not exist')
|
|
|
|
self.send_error(401, 'Container does not exist')
|
|
|
|
return
|
|
|
|
return
|
|
|
|
if 'prefix' in query:
|
|
|
|
if 'prefix' in query:
|
|
|
|
p = query['prefix'][-1]
|
|
|
|
p = query['prefix'][-1]
|
|
|
|