module Ocsigen_http_frame: sig
.. end
compute_new_ri_cookies now path ri_cookies cookies_to_set
adds the cookies from cookies_to_set
to ri_cookies
, as if the cookies
had been send to the browser and the browser
was doing a new request to the url path
.
Only the cookies that match path
(current path) are added.
type
etag = string
val compute_new_ri_cookies : float ->
string list ->
string Ocsigen_lib.String.Table.t ->
Ocsigen_cookies.cookie Ocsigen_lib.String.Table.t Ocsigen_cookies.Cookies.t ->
string Ocsigen_lib.String.Table.t
compute_new_ri_cookies now path ri_cookies cookies_to_set
adds the cookies from cookies_to_set
to ri_cookies
, as if the cookies
had been send to the browser and the browser
was doing a new request to the url path
.
Only the cookies that match path
(current path) are added.
type
result = {
}
The type of answers to send
val default_result : unit -> result
Default result
to use as a base for constructing others.
val empty_result : unit -> result
result
for an empty page.
module type HTTP_CONTENT = sig
.. end
module Http_header: sig
.. end
module Http_error: sig
.. end
type
t = {
}
The type of HTTP frames.
The content may be void (no body) or a stream.
While sending, a stream will be sent with chunked encoding if no
content-length is supplied.
abort is the function to be called if you want to cancel the stream
reading (closes the connection).