We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f18a84 commit d70162fCopy full SHA for d70162f
services/storage/src/simcore_service_storage/handlers_simcore_s3.py
@@ -18,7 +18,6 @@
18
parse_request_query_parameters_as,
19
)
20
from servicelib.logging_utils import log_context
21
-from servicelib.mimetype_constants import MIMETYPE_APPLICATION_JSON
22
from settings_library.s3 import S3Settings
23
24
from . import sts
@@ -79,8 +78,8 @@ async def _copy_folders_from_project(
79
78
task_progress=task_progress,
80
81
82
- raise web.HTTPCreated(
83
- text=json_dumps(body.destination), content_type=MIMETYPE_APPLICATION_JSON
+ return web.json_response(
+ text=json_dumps(body.destination), status=status.HTTP_201_CREATED
84
85
86
0 commit comments