Project to reproduce issue in aws-lambda-powertools-python
Related Issue: aws-powertools/powertools-lambda-python#1098
The project creates two HTTP API endpoints:
- GET - /pets/{name}
- GET - /pets/{name}/vets
The Lambda function uses the aws-lambda-powertools-python layer.
Calling GET /pets/{name}
or GET /pets/{name}/vets
should return a successful response with status code 200 when called with "Chester Mall" or "Chester%20Mall" (without ") as name
.
Instead of a successful response a 404 "Not Found" is returned, with response body
{
"statusCode": 404,
"message": "Not found"
}
This repository provides a reproducible example and can be deployed with
serverless deploy