From 3484614bcc19ed2c2bd447dd51c6584ad41aa48b Mon Sep 17 00:00:00 2001 From: Max Bischof <106820326+bischofmax@users.noreply.github.com> Date: Tue, 31 Jan 2023 13:32:35 +0100 Subject: [PATCH] BC-2698 - Return correct scan status (#33) --- antivirus_service/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antivirus_service/handler.py b/antivirus_service/handler.py index b4b3d4f..3544a8e 100644 --- a/antivirus_service/handler.py +++ b/antivirus_service/handler.py @@ -25,7 +25,7 @@ def handle_error_message(self, payload, error_message): logging.error('On sending error message: empty callback_uri') return - headers = {'status': '500 Internal Server Error'} + headers = {'Content-type': 'application/json'} if access_token: headers['Authorization'] = 'Bearer %s' % access_token