Expand description
Http Layer
s provided by Rama.
mostly contains re-exports from
rama-http
and rama-http-backend
.
Modules§
- Authorization related middleware.
- Apply a limit to the request body.
- Convert panics into responses.
- Tools for classifying responses as either success or failure.
- Collect the http
Body
- Middleware that compresses response bodies.
- Middleware which adds headers for CORS.
- Middleware that decompresses request and response bodies.
- Layers in function of DNS.
- Middleware for following redirections.
- Middleware to support the reading and writing of Forwarded headers.
- Extract a header config from a request or response and insert it into the
Extensions
of itsContext
. - Similar to
super::header_config::HeaderConfigLayer
, but storing theDefault
value of typeT
in case the header with the givenHeaderName
is present and has a bool-like value. - Apply a transformation to the request body.
- Apply a transformation to the response body.
- Middleware that normalizes paths.
- Http OpenTelemetry
Layer
Support for Rama. - Propagate a header from the request to the response.
- Middleware that validates if a request has the appropriate Proxy Authorisation.
- Middleware for removing headers from requests and responses.
- Set and propagate request ids.
- Middleware for setting required headers on requests and responses, if they are missing.
- Middleware for retrying “failed” requests.
- Middlewares that mark headers as sensitive.
- Middleware for setting headers on requests and responses.
- Middleware to override status codes.
- Middleware that applies a timeout to requests.
- Middleware to write Http traffic in std format.
- User-Agent (see also
rama-ua
) http layer support - middleware to handle branching into http upgrade services
- Middleware that validates requests.