diff --git a/platypush/backend/http/__init__.py b/platypush/backend/http/__init__.py index 00e6a40d22..cb825f654a 100644 --- a/platypush/backend/http/__init__.py +++ b/platypush/backend/http/__init__.py @@ -252,7 +252,7 @@ class HttpBackend(Backend): response = self.get_message_response(msg) self.logger.info('Processing response on the HTTP backend: {}'.format(response)) if response: - return str(response) + return Response(str(response), mimetype='application/json') @app.route('/') def index():