From 165ecd25c00f0861b62c19c6475e90a4624af916 Mon Sep 17 00:00:00 2001 From: goldeneggg Date: Wed, 15 May 2019 09:27:30 +0900 Subject: [PATCH] add "multiValueHeaders" into API Gateway response allowable. --- samcli/local/apigw/local_apigw_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samcli/local/apigw/local_apigw_service.py b/samcli/local/apigw/local_apigw_service.py index 91347743da..cb6bbc2ffb 100644 --- a/samcli/local/apigw/local_apigw_service.py +++ b/samcli/local/apigw/local_apigw_service.py @@ -244,7 +244,8 @@ def _invalid_apig_response_keys(output): "statusCode", "body", "headers", - "isBase64Encoded" + "isBase64Encoded", + "multiValueHeaders" } # In Python 2.7, need to explicitly make the Dictionary keys into a set invalid_keys = set(output.keys()) - allowable