Commit graph

  • 21f4743320 fix(urlencode): encode non ascii chars Simon Cruanes 2020-12-15 22:16:33 -05:00
  • 70f1205880 doc: fix examples Simon Cruanes 2020-12-08 00:24:55 -05:00
  • 697dc6c302 chore: fix constraint on qcheck Simon Cruanes 2020-11-22 12:48:55 -05:00
  • 4f5910f597 add doc for 0.7 Simon Cruanes 2020-11-17 14:33:23 -05:00
  • e267838d23 fix doc Simon Cruanes 2020-11-17 14:32:45 -05:00
  • a35b063d41 prepare for 0.7 0.7 Simon Cruanes 2020-11-17 10:43:48 -05:00
  • 2a955bcbb4 feat: add rest_of_path_urlencoded and rename rest to rest_of_path Simon Cruanes 2020-11-17 10:43:05 -05:00
  • 9dd94b0158 fix: use the request path when redirecting to index.html Simon Cruanes 2020-11-17 09:50:47 -05:00
  • 39671d62e4 feat(http_of_dir): redirect to index.html if present Simon Cruanes 2020-11-17 09:37:05 -05:00
  • c6d5c9a40f fix(http_of_dir): do not url-encode paths with / Simon Cruanes 2020-11-17 09:16:46 -05:00
  • 2ed9131bdc feat: add Route.rest to match the rest of the path Simon Cruanes 2020-11-17 09:16:28 -05:00
  • aa66e172e8 feat: printing routes Simon Cruanes 2020-08-03 21:46:31 -04:00
  • a679ddf1d1 style Simon Cruanes 2020-08-03 21:40:42 -04:00
  • b31800680b add docs for 0.6 Simon Cruanes 2020-05-28 21:17:15 -04:00
  • 13dca59afd fix doc Simon Cruanes 2020-05-28 21:22:21 -04:00
  • 3ac5510e2d prepare for 0.6 0.6 Simon Cruanes 2020-05-28 21:06:19 -04:00
  • 80a4dc3c50 doc: update readme Simon Cruanes 2020-05-28 21:16:30 -04:00
  • 6e54ee69b5 fix: avoid spamming response Simon Cruanes 2020-05-27 22:29:21 -04:00
  • 6d01b5347e fix: do not output a content-length for a chunked response Simon Cruanes 2020-05-27 22:25:13 -04:00
  • fdd97744e0 feat: use chunked encoding for large string responses, too Simon Cruanes 2020-05-27 22:16:36 -04:00
  • 020dd056ac fix(zip) Simon Cruanes 2020-05-27 21:40:38 -04:00
  • bbe8d1c504 refactor(echo): simplify code, use gzip aggressively Simon Cruanes 2020-05-27 21:40:20 -04:00
  • 4f730ec7b6 fix: set transfer-encoding header when returning a chunked stream Simon Cruanes 2020-05-27 21:39:43 -04:00
  • 4a83a2f07f fix(zip): handle case where camlzip consumes 0 bytes Simon Cruanes 2020-05-27 20:41:53 -04:00
  • 4300e8dcf0 feat(gzip): also compress string responses if they're big Simon Cruanes 2020-05-27 20:29:55 -04:00
  • b640c0da30 feat: add Route.t construct, deprecate scanf, add more structured path Simon Cruanes 2020-05-27 19:52:57 -04:00
  • eaa2c9b3b7 accept http1.0 Simon Cruanes 2020-05-27 13:23:02 -04:00
  • 5c56cb7f1e debug msg Simon Cruanes 2020-05-27 13:11:32 -04:00
  • 2da66d0b8d add doc for 0.5 Simon Cruanes 2020-03-25 23:28:33 -04:00
  • 1d309abca6 prepare for 0.5 0.5 Simon Cruanes 2020-03-25 23:25:15 -04:00
  • 4023a5ab79 fix: use content-encoding: deflate when returning compressed content Simon Cruanes 2020-03-25 23:03:57 -04:00
  • 64df8616f9 style: fix example Simon Cruanes 2020-03-25 23:03:51 -04:00
  • 53cf1fbde0 chore: update opam version, try to fix CI Simon Cruanes 2020-03-25 22:20:11 -04:00
  • ab90f09e2c small fix Simon Cruanes 2020-03-25 22:08:28 -04:00
  • e8ed0afe47 fix: parse transfer-encoding properly Simon Cruanes 2020-03-25 22:06:43 -04:00
  • 65f8f957bd example: update echo so it can use camlzip, and serves files Simon Cruanes 2020-03-25 22:03:59 -04:00
  • 9d6f4d25cf fix(camlzip): proper handling of transfer-encoding for deflate Simon Cruanes 2020-03-25 22:03:33 -04:00
  • 2435e33df4 feat: expose Headers.empty Simon Cruanes 2020-03-25 22:02:49 -04:00
  • a238a2100b rename into tiny_httpd_camlzip Simon Cruanes 2020-03-25 18:22:48 -04:00
  • 8131c07425 wip: zlib Simon Cruanes 2019-11-18 18:42:43 -06:00
  • c2fb67615d refactor zlib Simon Cruanes 2019-11-18 00:12:02 -06:00
  • e6b46379c0 wip(zlib): implement decode/encode wrappers Simon Cruanes 2019-11-17 23:55:42 -06:00
  • 59829264a5 wip: zlib bridge library Simon Cruanes 2019-11-17 21:45:10 -06:00
  • 8bd7ca1e38 fix: use content-encoding: deflate when returning compressed content Simon Cruanes 2020-03-25 23:03:57 -04:00
  • bb48fd3b19 style: fix example Simon Cruanes 2020-03-25 23:03:51 -04:00
  • 9467789dfd chore: update opam version, try to fix CI Simon Cruanes 2020-03-25 22:20:11 -04:00
  • 30fab9d8d6 small fix Simon Cruanes 2020-03-25 22:08:28 -04:00
  • 973534a26a fix: parse transfer-encoding properly Simon Cruanes 2020-03-25 22:06:43 -04:00
  • 5fb58f464e example: update echo so it can use camlzip, and serves files Simon Cruanes 2020-03-25 22:03:59 -04:00
  • a30c972408 fix(camlzip): proper handling of transfer-encoding for deflate Simon Cruanes 2020-03-25 22:03:33 -04:00
  • dd68e92bf1 feat: expose Headers.empty Simon Cruanes 2020-03-25 22:02:49 -04:00
  • 4e015f3a76 rename into tiny_httpd_camlzip Simon Cruanes 2020-03-25 18:22:48 -04:00
  • 09cdc27c72 wip: zlib Simon Cruanes 2019-11-18 18:42:43 -06:00
  • bf2f22aee7 refactor zlib Simon Cruanes 2019-11-18 00:12:02 -06:00
  • e44e5eac3e wip(zlib): implement decode/encode wrappers Simon Cruanes 2019-11-17 23:55:42 -06:00
  • 313c211104 wip: zlib bridge library Simon Cruanes 2019-11-17 21:45:10 -06:00
  • f8a5968984 fix: use the non-query path for routing Simon Cruanes 2020-02-26 19:55:49 -06:00
  • bdd2fd8160 feat(util): add some query related utils Simon Cruanes 2020-02-26 19:55:37 -06:00
  • 0fae34315e doc for 0.4 Simon Cruanes 2020-02-08 09:39:33 -06:00
  • 995aee8489 prepare for 0.4 0.4 Simon Cruanes 2020-02-08 09:38:15 -06:00
  • b3f254446d strip whitespace Simon Cruanes 2020-02-08 09:37:12 -06:00
  • d25cadfa27 doc: fix url Simon Cruanes 2020-01-29 11:15:54 -06:00
  • 0f77a120d2 chore: add github action Simon Cruanes 2020-01-29 10:47:50 -06:00
  • 130608d924 feat: easy accessor to the query parameters in path Simon Cruanes 2019-12-09 14:28:57 -06:00
  • 057d5c9f0c header field names are case insensitive Anurag Soni 2019-12-06 19:40:41 -05:00
  • 3cf3ec684e header field names are case insensitive Anurag Soni 2019-12-06 19:40:41 -05:00
  • ee1b597876 doc: add note on jemalloc in the readme Simon Cruanes 2019-12-05 23:41:30 -06:00
  • 66c4525726 wip: try jemalloc wip-memleak Simon Cruanes 2019-12-05 09:13:57 -06:00
  • 64e232e459 wip: use statmemprof-notty Simon Cruanes 2019-12-04 22:34:38 -06:00
  • 3f0e427bbf chore: add a debug endpoint to echo Simon Cruanes 2019-12-04 11:21:55 -06:00
  • 842a5d6895 wip: make sure to destroy channels Simon Cruanes 2019-12-04 11:19:29 -06:00
  • 78d6f02daa wip: try to use unix fd directly wip-memleak-raw-fd Simon Cruanes 2019-12-04 09:54:53 -06:00
  • 0865fea043 wip: track memleak Simon Cruanes 2019-12-03 18:12:26 -06:00
  • aa35e324e6 refactor Simon Cruanes 2019-12-03 17:38:56 -06:00
  • 948b5e6389 test: add a unit test for parsing http req Simon Cruanes 2019-12-03 17:32:12 -06:00
  • de7acbaf6d refactor: logerror when closing client socket Simon Cruanes 2019-12-03 17:19:31 -06:00
  • 1fc544aa16 refactor: improve the echo server Simon Cruanes 2019-12-03 16:20:05 -06:00
  • 17a26ea297 doc: add readme Simon Cruanes 2019-12-03 09:49:52 -06:00
  • 5b8d2bf88c doc: add a changelog Simon Cruanes 2019-12-03 08:38:36 -06:00
  • 293a977e19 doc for 0.3 Simon Cruanes 2019-12-02 21:20:24 -06:00
  • 21e0c18069 prepare for 0.3 0.3 Simon Cruanes 2019-12-02 21:18:56 -06:00
  • 7f97e75147 feat(http_of_dir): use file to guess mime type of file Simon Cruanes 2019-12-02 20:52:56 -06:00
  • 8d33f84022 fix: missing crlf between chunks Simon Cruanes 2019-12-02 19:41:11 -06:00
  • c16e386338 fix: read_all must return rather than blocking when done Simon Cruanes 2019-12-02 19:17:40 -06:00
  • 51519fec1f fix: proper amortized O(1) push in Buf.push Simon Cruanes 2019-12-02 19:17:25 -06:00
  • 45bc589e00 feat: allow handlers to take streams Simon Cruanes 2019-12-02 17:17:46 -06:00
  • 1a657515d9 relax opam constraint on dune Simon Cruanes 2019-11-29 15:17:50 -06:00
  • 6af39da3a6 tweak debug messages Simon Cruanes 2019-11-27 16:23:03 -06:00
  • cc789ca786 chore(opam): for now, restrict dune version Simon Cruanes 2019-11-26 19:58:39 -06:00
  • 1abfcde597 opam: require qtest 2.9 Simon Cruanes 2019-11-26 19:41:31 -06:00
  • 057d6401ab feat(bin): disable uploading by default Simon Cruanes 2019-11-26 19:23:48 -06:00
  • 4d852f3cd3 fix: %X for percent_encode; use percent_decode in parse_query Simon Cruanes 2019-11-26 19:22:21 -06:00
  • eab754ec95 test: use qtest to test utils Simon Cruanes 2019-11-26 19:11:37 -06:00
  • b0dbc1c057 feat: add Tiny_httpd_util.parse_query for query decoding Simon Cruanes 2019-11-26 19:11:22 -06:00
  • 9eae697ded refactor: improve code of percent encode/decode Simon Cruanes 2019-11-26 19:10:08 -06:00
  • 6852912fbb feat(bin): set charset to utf8 Simon Cruanes 2019-11-26 19:07:20 -06:00
  • 98642811bc feat: autodetect ipv6 address Simon Cruanes 2019-11-26 18:09:46 -06:00
  • b7e458c0c4 feat: support ipv6 address Simon Cruanes 2019-11-26 18:02:18 -06:00
  • 3e28be80ec doc: harmonize section headers in docs Simon Cruanes 2019-11-25 21:06:27 -06:00
  • 7e44122cfe update docs Simon Cruanes 2019-11-25 21:06:23 -06:00