Dream 1.0.0~alpha4
Additions
Dream.set_status
(67e91f1).- Automatically close streams (
Dream.stream
) and WebSockets (Dream.websocket
) unless~close:false
is passed (cfacc84, prompted by Yawar Amin).
Bugs fixed
Dream.form
should accept allContent-Type
s that have the right prefix (#203, Yawar Amin).Dream.set_cookie
should useSameSite=Lax
by default (#190, reported by Chas Emerick, Andrey Popp).- Depend on
camlp-streams
for OCaml 5.00.0 compatibility (#210, Patrick Ferris).
Changes
- Improve
Content-Length
andTransfer-Encoding
handling (2621045).
Removals
Dream.content_length
middleware (2621045).Dream.lowercase_headers
middleware (5f50acf).Dream.version
accessor (2162ec7).
Docs
- Catch up routers in some of the examples with Dream
alpha3
(#205, Thomas Haessle). - Update docs for
Dream.form_result
constructor`Expired
(#206, Yawar Amin). - Fix remaining mentions of
~secret
(#207, reported by Tuomas Lukka).