Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type client_error_status = [
| `Bad_request
| `Conflict
| `Expectation_failed
| `Forbidden
| `Gone
| `Length_required
| `Method_not_allowed
| `Not_acceptable
| `Not_found
| `Payment_required
| `Precondition_failed
| `Proxy_authentication_required
| `Request_URI_too_large
| `Request_entity_too_large
| `Request_time_out
| `Requested_range_not_satisfiable
| `Unsupported_media_type
]
type error_status = [
| `Bad_gateway
| `Bad_request
| `Conflict
| `Expectation_failed
| `Forbidden
| `Gateway_time_out
| `Gone
| `HTTP_version_not_supported
| `Internal_server_error
| `Length_required
| `Method_not_allowed
| `Not_acceptable
| `Not_found
| `Not_implemented
| `Payment_required
| `Precondition_failed
| `Proxy_authentication_required
| `Request_URI_too_large
| `Request_entity_too_large
| `Request_time_out
| `Requested_range_not_satisfiable
| `Unsupported_media_type
]
type status = [
| `Accepted
| `Bad_gateway
| `Bad_request
| `Conflict
| `Continue
| `Created
| `Expectation_failed
| `Forbidden
| `Found
| `Gateway_time_out
| `Gone
| `HTTP_version_not_supported
| `Internal_server_error
| `Length_required
| `Method_not_allowed
| `Moved_permanently
| `Multiple_choices
| `No_content
| `Not_acceptable
| `Not_found
| `Not_implemented
| `Not_modified
| `OK
| `Partial_content
| `Payment_required
| `Precondition_failed
| `Proxy_authentication_required
| `Request_URI_too_large
| `Request_entity_too_large
| `Request_time_out
| `Requested_range_not_satisfiable
| `Reset_content
| `See_other
| `Switching_protocols
| `Temporary_redirect
| `Unsupported_media_type
| `Use_proxy
]
type status_code = [
| `Accepted
| `Bad_gateway
| `Bad_request
| `Code of int
| `Conflict
| `Continue
| `Created
| `Expectation_failed
| `Forbidden
| `Found
| `Gateway_time_out
| `Gone
| `HTTP_version_not_supported
| `Internal_server_error
| `Length_required
| `Method_not_allowed
| `Moved_permanently
| `Multiple_choices
| `No_content
| `Not_acceptable
| `Not_found
| `Not_implemented
| `Not_modified
| `OK
| `Partial_content
| `Payment_required
| `Precondition_failed
| `Proxy_authentication_required
| `Request_URI_too_large
| `Request_entity_too_large
| `Request_time_out
| `Requested_range_not_satisfiable
| `Reset_content
| `See_other
| `Switching_protocols
| `Temporary_redirect
| `Unsupported_media_type
| `Use_proxy
]
val string_of_version : version -> string
val version_of_string : string -> version option
val string_of_method : meth -> string
val method_of_string : string -> meth option
val status_of_code : int -> status_code
val code_of_status : status_code -> int
val string_of_status : status_code -> string