ResponseType::Auto
added as the default. If a response body is not valid UTF-8 then it will automatically get base-64 encoded.
- The
include_api_gateway_base_path
method onRockerHandlerBuilder
has been changed tobase_path_behaviour
. It should now detect the base path on API Gateway custom domains, as well as when using the default API Gateway URL.
- Renamed
RocketLamb
toRockerHandlerBuilder
- The
launch
(andinto_handler
) methods onRocketLamb
/RockerHandlerBuilder
no longer return errors. Misconfigurations that prevent the handler from starting will now panic instead.
- The handler will now try to detect the API Gateway base path for your lambda, and prepend this to the path processed by Rocket. This is necessary to make absolute URLs in responses (e.g. in the Location response header for redirects) function correctly when hosting the server at the default API Gateway URL. If this behaviour is unneeded or undesired, you can disable it with the
include_api_gateway_base_path
method onRockerHandlerBuilder
.
- Documentation changes only
- Initial "public" release!