Commit 8292785f authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

pithos-app: Set supported serializations in api views

parent 2a832add
......@@ -342,7 +342,7 @@ def account_update(request, v_account):
@api_method('GET', format_allowed=True, user_required=True, logger=logger,
default_serialization="text")
serializations=["text", "xml", "json"])
def container_list(request, v_account):
# Normal Response Codes: 200, 204
# Error Response Codes: internalServerError (500),
......@@ -589,7 +589,7 @@ def container_delete(request, v_account, v_container):
@api_method('GET', format_allowed=True, user_required=True, logger=logger,
default_serialization="text")
serializations=["text", "xml", "json"])
def object_list(request, v_account, v_container):
# Normal Response Codes: 200, 204
# Error Response Codes: internalServerError (500),
......
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