Commit graph

77 commits

Author SHA1 Message Date
Simon Cruanes
995aee8489 prepare for 0.4 2020-02-08 09:38:50 -06:00
Simon Cruanes
b3f254446d strip whitespace 2020-02-08 09:37:12 -06:00
Simon Cruanes
d25cadfa27 doc: fix url 2020-01-29 11:15:54 -06:00
Simon Cruanes
0f77a120d2 chore: add github action 2020-01-29 10:49:28 -06:00
Simon Cruanes
130608d924 feat: easy accessor to the query parameters in path 2019-12-09 14:28:57 -06:00
Anurag Soni
057d5c9f0c header field names are case insensitive
Reference: https://tools.ietf.org/html/rfc2616#section-4.2
2019-12-09 09:42:56 -06:00
Simon Cruanes
ee1b597876 doc: add note on jemalloc in the readme 2019-12-05 23:41:30 -06:00
Simon Cruanes
aa35e324e6 refactor 2019-12-03 17:38:56 -06:00
Simon Cruanes
948b5e6389 test: add a unit test for parsing http req 2019-12-03 17:32:12 -06:00
Simon Cruanes
de7acbaf6d refactor: logerror when closing client socket 2019-12-03 17:19:41 -06:00
Simon Cruanes
1fc544aa16 refactor: improve the echo server 2019-12-03 16:20:05 -06:00
Simon Cruanes
17a26ea297 doc: add readme 2019-12-03 09:49:52 -06:00
Simon Cruanes
5b8d2bf88c doc: add a changelog 2019-12-03 08:38:36 -06:00
Simon Cruanes
21e0c18069 prepare for 0.3 2019-12-02 21:19:19 -06:00
Simon Cruanes
7f97e75147 feat(http_of_dir): use file to guess mime type of file 2019-12-02 21:15:18 -06:00
Simon Cruanes
8d33f84022 fix: missing crlf between chunks 2019-12-02 21:15:18 -06:00
Simon Cruanes
c16e386338 fix: read_all must return rather than blocking when done 2019-12-02 21:15:18 -06:00
Simon Cruanes
51519fec1f fix: proper amortized O(1) push in Buf.push 2019-12-02 21:15:18 -06:00
Simon Cruanes
45bc589e00 feat: allow handlers to take streams
close #9
2019-12-02 21:15:13 -06:00
Simon Cruanes
1a657515d9 relax opam constraint on dune 2019-11-29 15:17:50 -06:00
Simon Cruanes
6af39da3a6 tweak debug messages 2019-11-27 16:23:25 -06:00
Simon Cruanes
cc789ca786 chore(opam): for now, restrict dune version 2019-11-26 20:10:00 -06:00
Simon Cruanes
1abfcde597 opam: require qtest 2.9 2019-11-26 19:41:31 -06:00
Simon Cruanes
057d6401ab feat(bin): disable uploading by default 2019-11-26 19:23:48 -06:00
Simon Cruanes
4d852f3cd3 fix: %X for percent_encode; use percent_decode in parse_query 2019-11-26 19:22:21 -06:00
Simon Cruanes
eab754ec95 test: use qtest to test utils 2019-11-26 19:11:37 -06:00
Simon Cruanes
b0dbc1c057 feat: add Tiny_httpd_util.parse_query for query decoding 2019-11-26 19:11:22 -06:00
Simon Cruanes
9eae697ded refactor: improve code of percent encode/decode 2019-11-26 19:10:43 -06:00
Simon Cruanes
6852912fbb feat(bin): set charset to utf8 2019-11-26 19:07:20 -06:00
Simon Cruanes
98642811bc feat: autodetect ipv6 address 2019-11-26 18:09:46 -06:00
Simon Cruanes
b7e458c0c4 feat: support ipv6 address 2019-11-26 18:02:18 -06:00
Simon Cruanes
3e28be80ec doc: harmonize section headers in docs 2019-11-25 21:06:27 -06:00
Simon Cruanes
d1828fdcaa prepare for 0.2 2019-11-22 17:56:10 -06:00
Simon Cruanes
61e5badf17 Merge release 0.1 back 2019-11-22 17:48:35 -06:00
Simon Cruanes
48a2d3980b feat(bin): count number of hidden files 2019-11-22 14:40:36 -06:00
Simon Cruanes
6ddc38a7c1 feat(bin): use details for hiding hidden files by default 2019-11-22 14:33:00 -06:00
Simon Cruanes
2b95c181b8 fix: improved percent encoding of paths 2019-11-22 13:45:37 -06:00
Simon Cruanes
4aaf77b261 feat: add percent encoding/decoding
close #7
2019-11-22 13:36:18 -06:00
Simon Cruanes
440834ca13 feat(bin): better human-size display 2019-11-22 13:09:59 -06:00
Simon Cruanes
b98be15813 chore: add tags to opam 2019-11-21 09:55:20 -06:00
Simon Cruanes
3824966217 feat: in http_of_dir, sort entries and display their size 2019-11-21 08:17:48 -06:00
Simon Cruanes
cac954f10a fix(http_of_dir): handle bad symlinks
close #6
2019-11-19 18:27:32 -06:00
Simon Cruanes
20275c164f improve docs and opam, tidy up for 0.1; rename stream 2019-11-18 23:18:46 -06:00
Simon Cruanes
f548041263 improve docs and opam, tidy up for 0.1 2019-11-18 23:12:33 -06:00
Simon Cruanes
8bfcf3673a feat: add host field to request 2019-11-18 23:04:23 -06:00
Simon Cruanes
3ac031b367 feat: add semaphore to limit number of simultaneous connections 2019-11-18 22:44:08 -06:00
Simon Cruanes
046ac43bac doc: proper titles 2019-11-18 22:13:35 -06:00
Simon Cruanes
2024d2d1c2 update doc 2019-11-18 22:09:31 -06:00
Simon Cruanes
95248a132c add more doc 2019-11-18 22:03:01 -06:00
Simon Cruanes
3048bfcc82 feat(http_of_dir): basic cache control with mtime in etag 2019-11-18 20:19:57 -06:00