Commit b2536d41 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

pithos: api_method_not_allowed typo's

parent b528fe9a
......@@ -99,7 +99,7 @@ def top_demux(request):
return authenticate(request)
return account_list(request)
else:
return api.method_not_allowed(request)
return api.api_method_not_allowed(request)
@csrf_exempt
......@@ -118,7 +118,7 @@ def account_demux(request, v_account):
elif request.method == 'GET':
return container_list(request, v_account)
else:
return api.method_not_allowed(request)
return api.api_method_not_allowed(request)
@csrf_exempt
......@@ -141,7 +141,7 @@ def container_demux(request, v_account, v_container):
elif request.method == 'GET':
return object_list(request, v_account, v_container)
else:
return api.method_not_allowed(request)
return api.api_method_not_allowed(request)
@csrf_exempt
......@@ -173,7 +173,7 @@ def object_demux(request, v_account, v_container, v_object):
elif request.method == 'DELETE':
return object_delete(request, v_account, v_container, v_object)
else:
return api.method_not_allowed(request)
return api.api_method_not_allowed(request)
@api_method('GET', user_required=False, logger=logger)
......
......@@ -54,7 +54,7 @@ def public_demux(request, v_public):
elif request.method == 'GET':
return public_read(request, v_public)
else:
return api.method_not_allowed(request)
return api.api_method_not_allowed(request)
@api_method(http_method="HEAD", token_required=False, user_required=False,
......
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