We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de9139e commit 44517f8Copy full SHA for 44517f8
localstack/services/sqs/query_api.py
@@ -138,7 +138,7 @@ def handle_request(request: Request, region: str) -> Response:
138
# some SDK (PHP) still send requests to the Queue URL even though the JSON spec does not allow it in the
139
# documentation. If the request is `json`, raise `NotFound` so that we continue the handler chain and the provider
140
# can handle the request
141
- if request.headers.get("Content-Type").lower() == "application/x-amz-json-1.0":
+ if request.headers.get("Content-Type", "").lower() == "application/x-amz-json-1.0":
142
raise NotFound
143
144
request_id = long_uid()
0 commit comments