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): ...@@ -70,8 +70,7 @@ class TestShaCache(ShaCacheMixin, ERP5TypeTestCase):
parsed = urlparse.urlparse(self.shacache_url) parsed = urlparse.urlparse(self.shacache_url)
connection = httplib.HTTPConnection(parsed.hostname, parsed.port) connection = httplib.HTTPConnection(parsed.hostname, parsed.port)
try: try:
connection.request('GET', '/'.join([parsed.path, key]), None, connection.request('GET', '/'.join([parsed.path, key]), None, {})
self.header_dict)
result = connection.getresponse() result = connection.getresponse()
data = result.read() data = result.read()
finally: 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