Closed c-cube closed 2 years ago
val serve_dir: ?upload:bool -> prefix:string -> path:string -> Tiny_httpd.t -> unit
registers a path "/prefix/%s" for GET-ing files and possibly PUT-ing files if upload=true.
"/prefix/%s"
upload=true
The code can be adapted from http_of_dir.
You can assign this one to me ... I am starting right now...
registers a path
"/prefix/%s"
for GET-ing files and possibly PUT-ing files ifupload=true
.The code can be adapted from http_of_dir.