From cdb25da251e51363b1eb6e8d7369ff1782bee588 Mon Sep 17 00:00:00 2001 From: c-cube Date: Mon, 15 Apr 2024 16:12:08 +0000 Subject: [PATCH] deploy: 241d9aeaf18cedfff17b672b006bbd2862252b4b --- tiny_httpd/Tiny_httpd_core/Server/Head_middleware/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_httpd/Tiny_httpd_core/Server/Head_middleware/index.html b/tiny_httpd/Tiny_httpd_core/Server/Head_middleware/index.html index 94acc512..1d610e63 100644 --- a/tiny_httpd/Tiny_httpd_core/Server/Head_middleware/index.html +++ b/tiny_httpd/Tiny_httpd_core/Server/Head_middleware/index.html @@ -1,2 +1,2 @@ -Head_middleware (tiny_httpd.Tiny_httpd_core.Server.Head_middleware)

Module 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.

type t = {
  1. handle : 'a. 'a Request.t -> 'a Request.t;
}

A handler that takes the request, without its body, and possibly modifies it.

val to_middleware : t -> Middleware.t
+Head_middleware (tiny_httpd.Tiny_httpd_core.Server.Head_middleware)

Module 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.

type t = {
  1. handle : 'a. 'a Request.t -> 'a Request.t;
}

A handler that takes the request, without its body, and possibly modifies it.

  • since NEXT_RELEASE
val trivial : t

Pass through

val to_middleware : t -> Middleware.t