package tiny_httpd
Minimal HTTP server using good old threads
Install
Dune Dependency
Authors
Maintainers
Sources
tiny_httpd-0.14.tbz
sha256=23feafd49bcb14fd43b7af513ba8d02d53ee07e2ae544195d65082a8fd69c07e
sha512=64bdc8a5608c923fdfe807dfdb7b43a7b3aadf68f854190d331552cbf12cc43d6cf63d885f07d1d1f8eaa5edf93d96656f68f7d219ac10898d8b3c7d33d1b095
doc/tiny_httpd/Tiny_httpd_util/index.html
Module Tiny_httpd_util
Source
Some utils for writing web servers
Encode the string into a valid path following https://tools.ietf.org/html/rfc3986#section-2.1
Inverse operation of percent_encode
. Can fail since some strings are not valid percent encodings.
Split a path between the path and the query
Split a string on '/'
, remove the trailing '/'
if any.
get the part of the path that is not the query parameters.
Obtain the query part of a path.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page