Server.Head_middleware
A middleware that only considers the request's head+headers.
These middlewares are simpler than full Middleware.t
and work in more contexts.
A handler that takes the request, without its body, and possibly modifies it.
val trivial : t
Pass through
val to_middleware : t -> Middleware.t