From a3532005c19c9ce7a726c9aeb924745589b6b230 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 28 Mar 2017 19:56:51 -0300 Subject: [bug] enable '/blobs/{uuid}' for GET on url_mapper --- server/src/leap/soledad/server/url_mapper.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/src') diff --git a/server/src/leap/soledad/server/url_mapper.py b/server/src/leap/soledad/server/url_mapper.py index d4961c92..b50a81cd 100644 --- a/server/src/leap/soledad/server/url_mapper.py +++ b/server/src/leap/soledad/server/url_mapper.py @@ -58,6 +58,7 @@ class URLMapper(object): /shared-db/doc/{any_id} | GET, PUT, DELETE /user-{uuid}/sync-from/{source} | GET, PUT, POST /blobs/{uuid}/{blob_id} | GET, PUT, POST + /blobs/{uuid} | GET """ # auth info for global resource self._connect('/', ['GET']) @@ -73,3 +74,4 @@ class URLMapper(object): ['GET', 'PUT', 'POST']) # auth info for blobs resource self._connect('/blobs/{uuid}/{blob_id}', ['GET', 'PUT']) + self._connect('/blobs/{uuid}', ['GET']) -- cgit v1.2.3