Skip to content

Commit 76aa3ea

Browse files
committed
fix list comprehension
1 parent 6f1f883 commit 76aa3ea

File tree

1 file changed

+1
-1
lines changed
  • localstack-core/localstack/services/apigateway/next_gen/execute_api/integrations

1 file changed

+1
-1
lines changed

localstack-core/localstack/services/apigateway/next_gen/execute_api/integrations/http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def invoke(self, context: RestApiInvocationContext) -> EndpointResponse:
123123
default_apigw_headers = self._get_default_headers(context)
124124

125125
multi_value_headers = build_multi_value_headers(invocation_req["headers"])
126-
request_headers = {key: ",".join(value) for key, value in multi_value_headers}
126+
request_headers = {key: ",".join(value) for key, value in multi_value_headers.items()}
127127
# TODO: check which headers to pop
128128
request_headers.pop("Host", None)
129129
default_apigw_headers.update(request_headers)

0 commit comments

Comments
 (0)