Skip to main content

Module response

Module response 

Available on crate features http and std only.
Expand description

Add the Server and Date headers to a response, if they are missing.

See AddRequiredResponseHeaders for the exact behaviour.

Structs§

AddRequiredResponseHeaders
Middleware that adds the Server and Date headers to the response returned by the inner service.
AddRequiredResponseHeadersLayer
Layer that wraps a service in AddRequiredResponseHeaders.