Module Predefined_senders


module Predefined_senders: sig .. end
Functions to create results for various kinds of documents

module File_content: Http_frame.HTTP_CONTENT  with type t = string
module Xhtml_content: Http_frame.HTTP_CONTENT  with type t = [ `Html ] XHTML.M.elt
module Text_content: Http_frame.HTTP_CONTENT  with type t = string * string
content * content-type
module Stream_content: Http_frame.HTTP_CONTENT  with type t = string Ocsistream.t
module Streamlist_content: Http_frame.HTTP_CONTENT  
with type t = (unit -> string Ocsistream.t Lwt.t) list
      * string
streams and content-type
module Empty_content: Http_frame.HTTP_CONTENT  with type t = unit
module Directory_content: Http_frame.HTTP_CONTENT  with type t = string * string list
directory name and corresponding URL path
module Error_content: Http_frame.HTTP_CONTENT  with type t = int option * exn option
error code and/or exception
val send_error : ?code:int ->
?exn:exn ->
Http_com.slot ->
clientproto:Http_frame.Http_header.proto ->
?mode:Http_frame.Http_header.http_mode ->
?proto:Http_frame.Http_header.proto ->
keep_alive:bool ->
head:bool -> sender:Http_com.sender_type -> unit -> unit Lwt.t
Sending an error page