v2.5.5
版本发布时间: 2021-03-16 18:36:25
mirage/ocaml-cohttp最新发布版本:v6.0.0_beta2(2024-01-05 20:51:57)
CHANGES:
-
Cohttp_async.resolve_local_file
,Cohttp_lwt.resolve_local_file
andCohttp_lwt_unix.resolve_file
are now the same code under the hood (Cohttp.Path.resolve_local_file
). The old names have been preserved for compatibility, but will be marked as deprecated in the next release. This changes the behavior ofCohttp_lwt_unix.resolve_file
: it now percent-decodes the paths and blocks escaping from the docroot correctly. This also fixes and tests the corner cases in these methods when the docroot is empty. (@ewanmellor #755)
1、 cohttp-v2.5.5.tbz 90.01KB