diff --git a/samcli/local/apigw/local_apigw_service.py b/samcli/local/apigw/local_apigw_service.py index e11191ec31..561c9016f9 100644 --- a/samcli/local/apigw/local_apigw_service.py +++ b/samcli/local/apigw/local_apigw_service.py @@ -173,7 +173,7 @@ def _request_handler(self, **kwargs): cors_headers = Cors.cors_to_headers(self.api.cors) method, _ = self.get_request_methods_endpoints(request) - if method == "OPTIONS": + if method == "OPTIONS" and method not in route.methods: headers = Headers(cors_headers) return self.service_response("", headers, 200)