Commit 4c2d0765 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Eteri

shacache: Use GET without auth header

  Normally it should work as annonymous.
parent 0b7b01c9
......@@ -70,8 +70,7 @@ class TestShaCache(ShaCacheMixin, ERP5TypeTestCase):
parsed = urlparse.urlparse(self.shacache_url)
connection = httplib.HTTPConnection(parsed.hostname, parsed.port)
try:
connection.request('GET', '/'.join([parsed.path, key]), None,
self.header_dict)
connection.request('GET', '/'.join([parsed.path, key]), None, {})
result = connection.getresponse()
data = result.read()
finally:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment