Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Server.run
takes ?after_init
parameterResponse.make_void
seq
Html
module with combinators to produce htmlTiny_httpd_dir.VFS
to emulate file systemstiny-httpd-vfs-pack
, to pack directories and files (local or behind a URL) into a OCaml module using VFS
?middlewares
param to create
?get_time_s
param to create
start_time
in requestmax_keep_alive = -1.0
which preserves the original behaviour.close()
functionbuf_size
in many places, set default buf_size
to 16kbecho
to provide a /stats/ endpoint using a middlewarecreate
Unix.accept
may raise an exception (typicall Unix.EINTR, even with sigpipe blocked ?), prevent the server from stoppinghttp_of_dir
(#16)rest_of_path_urlencoded
and rename rest
to rest_of_path
http_of_dir
: redirect to index.html if presenthttp_of_dir
: do not url-encode '/' in pathsRoute.rest
to match the rest of the pathRoute.t
construct, deprecate scanf, add more structured pathcontent-length
for a chunked responsetransfer-encoding
header when returning a chunked streamtiny_httpd_camlzip
library for handling deflate
compressionHeaders.empty
file
to guess mime type of fileTiny_httpd_util.parse_query
for query decoding%X
for percent_encode; use percent_decode
in parse_query
details
for hiding hidden files by default