Skip to content
Snippets Groups Projects
Commit 21d46089 authored by Leon Mauritz Möller's avatar Leon Mauritz Möller Committed by Michael Thies
Browse files

adapter.http: remove whitespaces from json responses

parent 78b54ba0
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ class JsonResponse(APIResponse):
super().__init__(*args, **kwargs, content_type=content_type)
def serialize(self, result: Result) -> str:
return json.dumps(result, cls=ResultToJsonEncoder)
return json.dumps(result, cls=ResultToJsonEncoder, separators=(",", ":"))
class XmlResponse(APIResponse):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment