module Cookie:sig..end
typet =Nethttp.Cookie.t
val make : ?max_age:int ->
?domain:string ->
?path:string ->
?secure:bool ->
?comment:string ->
?comment_url:string ->
?ports:int list -> string -> string -> tval name : t -> stringval value : t -> stringval max_age : t -> int optionNone means
that the cookie will be discarded when the browser exits.
This information is not returned by the browser.val domain : t -> string optionval path : t -> string optionval secure : t -> boolval comment : t -> string"" if it
does not exists. This information is not returned by the
browser.val comment_url : t -> string"" if it
does not exists. This information is not returned by the
browser.val ports : t -> int list optionval set_value : t -> string -> unitval set_max_age : t -> int option -> unitval set_domain : t -> string option -> unitval set_path : t -> string option -> unitval set_secure : t -> bool -> unitval set_comment : t -> string -> unitval set_comment_url : t -> string -> unitval set_ports : t -> int list option -> unitval set : #Netmime.mime_header -> t list -> unitset http_header cookies sets the cookies in http_header
using version 0 or version 1 depending on whether version 1
fields are used. For better browser compatibility, if
"Set-cookie2" (RFC 2965) is issued, then a "Set-cookie"
precedes (declaring the same cookie with a limited number of
options).
Deprecated name. Use Nethttp.Header.set_set_cookie_ct.
val get : #Netmime.mime_header -> t list
Deprecated name. Use Nethttp.Header.get_cookie_ct.
val of_record : Nethttp.cookie -> t
Deprecated name. Use Nethttp.Cookie.of_netscape_cookie.
val to_record : t -> Nethttp.cookie
Deprecated name. Use Nethttp.Cookie.to_netscape_cookie.