From 2927412b3c8ee50d01f92867cb2453614814d4ac Mon Sep 17 00:00:00 2001 From: Domenico Testa Date: Tue, 9 Jun 2020 14:10:43 +0200 Subject: [PATCH] Returning the right content type when returning the upload ticket --- once/get-upload-ticket/handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/once/get-upload-ticket/handler.py b/once/get-upload-ticket/handler.py index f651a0a..c849174 100644 --- a/once/get-upload-ticket/handler.py +++ b/once/get-upload-ticket/handler.py @@ -173,5 +173,6 @@ def on_event(event, context): finally: return { 'statusCode': response_code, + 'headers': {'Content-Type': 'application/json'}, 'body': json.dumps(response) }