WebdavzWebDAV protocol library for httpz.
Implements the core WebDAV data model and request/response handling from RFC 4918.
Xml — XML tree types and xmlm-based codecProp — Well-known DAV: property names and accessorsRequest — PROPFIND / PROPPATCH request body parsingResponse — 207 Multi-Status response generationHandler — Generic STORE-based WebDAV route generation (* 1. Implement STORE for your backend *)
module My_store : Webdavz.STORE = struct ... end
(* 2. Generate routes *)
let routes = Webdavz.Handler.routes (module My_store) my_store
(* 3. Serve with httpz_eio *)
let route_table = Httpz_server.Route.of_list routesmodule Xml : sig ... endWebDAV XML tree types and xmlm codec.
module Prop : sig ... endWebDAV property names and accessors.
module Request : sig ... endWebDAV request body parsing.
module Response : sig ... endWebDAV 207 Multi-Status response generation.
module Handler : sig ... endWebDAV handler generation from a storage backend.
module Lock : sig ... endIn-memory WebDAV lock manager.
module type RO_STORE = sig ... endmodule type STORE = sig ... end