diff options
Diffstat (limited to 'src/leap/soledad/server/interfaces.py')
-rw-r--r-- | src/leap/soledad/server/interfaces.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/leap/soledad/server/interfaces.py b/src/leap/soledad/server/interfaces.py index 674fd8e6..15603047 100644 --- a/src/leap/soledad/server/interfaces.py +++ b/src/leap/soledad/server/interfaces.py @@ -157,18 +157,17 @@ class IBlobsBackend(Interface): :rtype: int """ - def add_tag_header(user, blob_id, request, namespace=''): + def get_tag(user, blob_id, namespace=''): """ - Add a ``Tag`` HTTP header to the passed request containing the tag of - a blob. + Get the tag of a blob. :param blob_id: The id of the blob. :type blob_id: str - :param request: A representation of all of the information about the - request that is being made. - :type request: twisted.web.server.Request :param namespace: An optional namespace for the blob. :type namespace: str + + :return: The tag of the blob. + :rtype: str """ def get_flags(user, blob_id, request, namespace=''): |