sig
type param_value = [ `Q of string | `V of string ]
type auth_challenge = string * (string * Nethttp.Header.param_value) list
type auth_credentials = string * (string * Nethttp.Header.param_value) list
val parse_quoted_parameters : string -> (string * string) list
val print_param_value : Nethttp.Header.param_value -> string
val value_of_param : Nethttp.Header.param_value -> string
val get_accept :
#Nethttp.http_header_ro ->
(string * (string * string) list * (string * string) list) list
val best_media_type :
#Nethttp.http_header_ro -> string list -> string * (string * string) list
val set_accept :
#Nethttp.http_header ->
(string * (string * string) list * (string * string) list) list -> unit
val get_accept_charset :
#Nethttp.http_header_ro -> (string * (string * string) list) list
val best_charset : #Nethttp.http_header_ro -> string list -> string
val set_accept_charset :
#Nethttp.http_header -> (string * (string * string) list) list -> unit
val get_accept_encoding :
#Nethttp.http_header_ro -> (string * (string * string) list) list
val best_encoding : #Nethttp.http_header_ro -> string list -> string
val set_accept_encoding :
#Nethttp.http_header -> (string * (string * string) list) list -> unit
val get_accept_language :
#Nethttp.http_header_ro -> (string * (string * string) list) list
val set_accept_language :
#Nethttp.http_header -> (string * (string * string) list) list -> unit
val get_accept_ranges : #Nethttp.http_header_ro -> string list
val set_accept_ranges : #Nethttp.http_header -> string list -> unit
val get_age : #Nethttp.http_header_ro -> float
val set_age : #Nethttp.http_header -> float -> unit
val get_allow : #Nethttp.http_header_ro -> string list
val set_allow : #Nethttp.http_header -> string list -> unit
val get_authentication_info :
#Nethttp.http_header_ro -> (string * Nethttp.Header.param_value) list
val set_authentication_info :
#Nethttp.http_header ->
(string * Nethttp.Header.param_value) list -> unit
val get_authorization :
#Nethttp.http_header_ro -> Nethttp.Header.auth_credentials
val set_authorization :
#Nethttp.http_header -> Nethttp.Header.auth_credentials -> unit
val get_cache_control :
#Nethttp.http_header_ro -> Nethttp.cache_control_token list
val set_cache_control :
#Nethttp.http_header -> Nethttp.cache_control_token list -> unit
val get_connection : #Nethttp.http_header_ro -> string list
val set_connection : #Nethttp.http_header -> string list -> unit
val get_content_encoding : #Nethttp.http_header_ro -> string list
val set_content_encoding : #Nethttp.http_header -> string list -> unit
val get_content_language : #Nethttp.http_header_ro -> string list
val set_content_language : #Nethttp.http_header -> string list -> unit
val get_content_length : #Nethttp.http_header_ro -> int64
val set_content_length : #Nethttp.http_header -> int64 -> unit
val get_content_location : #Nethttp.http_header_ro -> string
val set_content_location : #Nethttp.http_header -> string -> unit
val get_content_md5 : #Nethttp.http_header_ro -> string
val set_content_md5 : #Nethttp.http_header -> string -> unit
val get_content_range :
#Nethttp.http_header_ro ->
[ `Bytes of (int64 * int64) option * int64 option ]
val set_content_range :
#Nethttp.http_header ->
[ `Bytes of (int64 * int64) option * int64 option ] -> unit
val get_content_type :
#Nethttp.http_header_ro -> string * (string * string) list
val set_content_type :
#Nethttp.http_header -> string * (string * string) list -> unit
val get_date : #Nethttp.http_header_ro -> float
val set_date : #Nethttp.http_header -> float -> unit
val get_etag : #Nethttp.http_header_ro -> Nethttp.etag
val set_etag : #Nethttp.http_header -> Nethttp.etag -> unit
val get_expect :
#Nethttp.http_header_ro ->
(string * string option * (string * string) list) list
val set_expect :
#Nethttp.http_header ->
(string * string option * (string * string) list) list -> unit
val get_expires : #Nethttp.http_header_ro -> float
val set_expires : #Nethttp.http_header -> float -> unit
val get_from : #Nethttp.http_header_ro -> string
val set_from : #Nethttp.http_header -> string -> unit
val get_host : #Nethttp.http_header_ro -> string * int option
val set_host : #Nethttp.http_header -> string * int option -> unit
val get_if_match : #Nethttp.http_header_ro -> Nethttp.etag list option
val set_if_match : #Nethttp.http_header -> Nethttp.etag list option -> unit
val get_if_modified_since : #Nethttp.http_header_ro -> float
val set_if_modified_since : #Nethttp.http_header -> float -> unit
val get_if_none_match : #Nethttp.http_header_ro -> Nethttp.etag list option
val set_if_none_match :
#Nethttp.http_header -> Nethttp.etag list option -> unit
val get_if_range :
#Nethttp.http_header_ro -> [ `Date of float | `Etag of Nethttp.etag ]
val set_if_range :
#Nethttp.http_header ->
[ `Date of float | `Etag of Nethttp.etag ] -> unit
val get_if_unmodified_since : #Nethttp.http_header_ro -> float
val set_if_unmodified_since : #Nethttp.http_header -> float -> unit
val get_last_modified : #Nethttp.http_header_ro -> float
val set_last_modified : #Nethttp.http_header -> float -> unit
val get_location : #Nethttp.http_header_ro -> string
val set_location : #Nethttp.http_header -> string -> unit
val get_max_forwards : #Nethttp.http_header_ro -> int
val set_max_forwards : #Nethttp.http_header -> int -> unit
val get_pragma : #Nethttp.http_header_ro -> (string * string option) list
val set_pragma :
#Nethttp.http_header -> (string * string option) list -> unit
val get_proxy_authenticate :
#Nethttp.http_header_ro -> Nethttp.Header.auth_challenge list
val set_proxy_authenticate :
#Nethttp.http_header -> Nethttp.Header.auth_challenge list -> unit
val get_proxy_authentication_info :
#Nethttp.http_header_ro -> (string * Nethttp.Header.param_value) list
val set_proxy_authentication_info :
#Nethttp.http_header ->
(string * Nethttp.Header.param_value) list -> unit
val get_proxy_authorization :
#Nethttp.http_header_ro -> Nethttp.Header.auth_credentials
val set_proxy_authorization :
#Nethttp.http_header -> Nethttp.Header.auth_credentials -> unit
val get_range :
#Nethttp.http_header_ro ->
[ `Bytes of (int64 option * int64 option) list ]
val set_range :
#Nethttp.http_header ->
[ `Bytes of (int64 option * int64 option) list ] -> unit
val get_referer : #Nethttp.http_header_ro -> string
val get_referrer : #Nethttp.http_header_ro -> string
val set_referer : #Nethttp.http_header -> string -> unit
val set_referrer : #Nethttp.http_header -> string -> unit
val get_retry_after :
#Nethttp.http_header_ro -> [ `Date of float | `Seconds of int ]
val set_retry_after :
#Nethttp.http_header -> [ `Date of float | `Seconds of int ] -> unit
val get_server : #Nethttp.http_header_ro -> string
val set_server : #Nethttp.http_header -> string -> unit
val get_te :
#Nethttp.http_header_ro ->
(string * (string * string) list * (string * string) list) list
val set_te :
#Nethttp.http_header ->
(string * (string * string) list * (string * string) list) list -> unit
val get_trailer : #Nethttp.http_header_ro -> string list
val set_trailer : #Nethttp.http_header -> string list -> unit
val get_transfer_encoding :
#Nethttp.http_header_ro -> (string * (string * string) list) list
val set_transfer_encoding :
#Nethttp.http_header -> (string * (string * string) list) list -> unit
val get_upgrade : #Nethttp.http_header_ro -> string list
val set_upgrade : #Nethttp.http_header -> string list -> unit
val get_user_agent : #Nethttp.http_header_ro -> string
val set_user_agent : #Nethttp.http_header -> string -> unit
val get_vary :
#Nethttp.http_header_ro -> [ `Fields of string list | `Star ]
val set_vary :
#Nethttp.http_header -> [ `Fields of string list | `Star ] -> unit
val get_www_authenticate :
#Nethttp.http_header_ro -> Nethttp.Header.auth_challenge list
val set_www_authenticate :
#Nethttp.http_header -> Nethttp.Header.auth_challenge list -> unit
val get_cookie : #Nethttp.http_header_ro -> (string * string) list
val get_cookie_ct : #Nethttp.http_header_ro -> Nethttp.Cookie.t list
val set_cookie : #Nethttp.http_header -> (string * string) list -> unit
val get_set_cookie :
#Nethttp.http_header_ro -> Nethttp.netscape_cookie list
val set_set_cookie :
#Nethttp.http_header -> Nethttp.netscape_cookie list -> unit
val set_set_cookie_ct :
#Nethttp.http_header -> Nethttp.Cookie.t list -> unit
end