Commit graph

18 commits

Author SHA1 Message Date
Simon Cruanes
7b094b55ad
many fixes 2023-07-11 11:31:06 -04:00
Simon Cruanes
de23d9b2a3
wip: add IO.Writer.t, a push based stream
This is more convenient than our existing streams when it comes to
writing a body. The user can just get an output channel and write to it,
flush it, etc. as they please. This should also simplify compression…
once it works.
2023-07-11 10:57:08 -04:00
Simon Cruanes
0908d71e19
ocamlformat 2023-05-23 17:40:18 -04:00
Simon Cruanes
533a42a661 details 2022-03-16 20:40:38 -04:00
Simon Cruanes
d5f9eacc81 split code into more modules 2022-03-16 20:40:38 -04:00
Simon Cruanes
fe36acf198
details 2021-12-16 10:54:11 -05:00
Simon Cruanes
1a88ea7d74
refactor(zip): compression is now a middleware 2021-12-12 17:06:46 -05:00
Simon Cruanes
0ae9ec4426
feat(camlzip): change default buffer size to 16kb 2021-12-12 17:06:45 -05:00
Simon Cruanes
8655200bd7
deprecate, add todos 2021-12-12 17:06:45 -05:00
Simon Cruanes
17d8f37c93 feat: remove async for now, finish server sent events 2021-07-17 22:09:45 -04:00
Simon Cruanes
020dd056ac fix(zip) 2020-05-27 21:40:38 -04:00
Simon Cruanes
4a83a2f07f fix(zip): handle case where camlzip consumes 0 bytes 2020-05-27 21:27:25 -04:00
Simon Cruanes
4300e8dcf0 feat(gzip): also compress string responses if they're big 2020-05-27 20:29:55 -04:00
Simon Cruanes
4023a5ab79 fix: use content-encoding: deflate when returning compressed content
the RFCs don't mandate it but it seems like chrome and firefox only
understand that.
2020-03-25 23:23:06 -04:00
Simon Cruanes
ab90f09e2c small fix 2020-03-25 23:23:06 -04:00
Simon Cruanes
e8ed0afe47 fix: parse transfer-encoding properly 2020-03-25 23:23:06 -04:00
Simon Cruanes
9d6f4d25cf fix(camlzip): proper handling of transfer-encoding for deflate 2020-03-25 23:23:06 -04:00
Simon Cruanes
a238a2100b rename into tiny_httpd_camlzip 2020-03-25 23:23:06 -04:00
Renamed from src/zlib/Tiny_httpd_zlib.ml (Browse further)