diff --git a/gracedb/api.py b/gracedb/api.py index b3f5f9ec1b4a2283da88e1d1d53ea91cae930dcf..a083859707da330f1728bd9e880ff2ad647dbc77 100644 --- a/gracedb/api.py +++ b/gracedb/api.py @@ -341,6 +341,8 @@ class Files(APIView): """Files Resource""" authentication_classes = (LigoAuthentication,) + parser_classes = (parsers.MultiPartParser,) + def get(self, request, graceid, filename=""): # Do not filename to be None. That messes up later os.path.join filename = filename or ""