Module request
Available on crate features
http and std only.Expand description
Add the Host and User-Agent headers to a request, if they are missing.
See AddRequiredRequestHeaders for the exact behaviour.
Structs§
- AddRequired
Request Headers - Middleware that adds the
HostandUser-Agentheaders to a request before passing it to the inner service. - AddRequired
Request Headers Layer Layerthat wraps a service inAddRequiredRequestHeaders.