Stage name in the Request's URI #463
-
Hello! 👋 My problem is a bit specific, but I am upgrading from a pinned revision from Nov 2021 (dcc33ea9e3fba5750f582ff5307a26ee320d70ed). During this upgrade, I noticed that the URI in the Could anyone point me to when this change was introduced? In the process of my upgrading, I will need to handle the stage name being a part of the URI. Thanks! Edit: I believe this commit is the culprit: 3d5565d#diff-8d6dff89da49a82ad3db479309029ace94da82f17d113341a28d418f45ebbd36 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Yes, that was a change to be more closely compatible with Api Gateway. Here's an example on how you can get the path without the stage part: https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/lambda-http/examples/hello-raw-http-path.rs |
Beta Was this translation helpful? Give feedback.
Yes, that was a change to be more closely compatible with Api Gateway. Here's an example on how you can get the path without the stage part: https://github.com/awslabs/aws-lambda-rust-runtime/blob/main/lambda-http/examples/hello-raw-http-path.rs