package tiny_httpd

  1. Overview
  2. Docs
Minimal HTTP server using good old threads

Install

Dune Dependency

Authors

Maintainers

Sources

0.6.tar.gz
md5=4d58ae2c5baa2c8ba03350b077604448
sha512=89b3b1f1292a6da8141385faf093980cf1bb7ed030d67875d27d7514f0d6342664cdb34b1f6c9dc70a93b58015c9d9c303f97d502541d7750b6af4f7cc031a1a

CHANGES.md.html

0.6

  • feat: add Route.t construct, deprecate scanf, add more structured path

  • feat: use chunked encoding for large string responses, in addition to streams

  • refactor(echo): simplify code, use gzip aggressively

  • accept http1.0

  • fix: do not output a content-length for a chunked response

  • fix: set transfer-encoding header when returning a chunked stream

  • fix(zip): handle case where camlzip consumes 0 bytes

  • feat(zip): also compress string responses if they're big

  • add more debug msg

0.5

  • new tiny_httpd_camlzip library for handling deflate compression

  • feat: expose Headers.empty

  • fix: use the non-query path for routing

  • feat(util): add some query related utils

0.4

  • easy accessor to the query parameters in path

  • fix: header field names are case insensitive

  • doc: add note on jemalloc in the readme

  • log error when closing client socket

0.3

  • feat(http_of_dir): use file to guess mime type of file

  • feat: allow handlers to take streams

  • feat(bin): disable uploading by default

  • feat: add Tiny_httpd_util.parse_query for query decoding

  • feat(bin): set charset to utf8

  • feat: autodetect ipv6 address

  • feat: support ipv6 address

  • fix: missing crlf between chunks

  • fix: read_all must return rather than blocking when done

  • fix: proper amortized O(1) push in Buf.push

  • fix: %X for percent_encode; use percent_decode in parse_query

0.2

  • feat(bin): count number of hidden files

  • feat(bin): use details for hiding hidden files by default

  • fix: improved percent encoding of paths

  • feat: add percent encoding/decoding

  • feat(bin): better human-size display

  • feat: in http_of_dir, sort entries and display their size

  • fix(http_of_dir): handle bad symlinks

  • improve docs and opam, tidy up for 0.1

OCaml

Innovation. Community. Security.