Cohttp.Codeval sexp_of_version : version -> Sexplib0.Sexp.tval version_of_sexp : Sexplib0.Sexp.t -> versionval __version_of_sexp__ : Sexplib0.Sexp.t -> versionval sexp_of_meth : meth -> Sexplib0.Sexp.tval meth_of_sexp : Sexplib0.Sexp.t -> methval __meth_of_sexp__ : Sexplib0.Sexp.t -> methtype informational_status = [ | `ContinueClient should continue with request
*)| `Switching_protocolsServer is switching protocols
*)| `ProcessingServer has received and is processing the request
*)| `Checkpointresume aborted PUT or POST requests
*) ]Informational
val sexp_of_informational_status : informational_status -> Sexplib0.Sexp.tval informational_status_of_sexp : Sexplib0.Sexp.t -> informational_statusval __informational_status_of_sexp__ : Sexplib0.Sexp.t -> informational_statustype success_status = [ | `OKstandard response for successful HTTP requests
*)| `Createdrequest has been fulfilled; new resource created
*)| `Acceptedrequest accepted, processing pending
*)| `No_contentrequest processed, no content returned
*)| `Reset_contentrequest processed, no content returned, reset document view
*)| `Partial_contentpartial resource return due to request header
*)| `Multi_statusXML, can contain multiple separate responses
*)| `Already_reportedresults previously returned
*)| `Im_usedrequest fulfilled, response is instance-manipulations
*) ]Success
val sexp_of_success_status : success_status -> Sexplib0.Sexp.tval success_status_of_sexp : Sexplib0.Sexp.t -> success_statusval __success_status_of_sexp__ : Sexplib0.Sexp.t -> success_statustype redirection_status = [ | `Multiple_choicesmultiple options for the resource delivered
*)| `Moved_permanentlythis and all future requests directed to the given URI
*)| `Foundtemporary response to request found via alternative URI
*)| `See_otherpermanent response to request found via alternative URI
*)| `Not_modifiedresource has not been modified since last requested
*)| `Use_proxycontent located elsewhere, retrieve from there
*)| `Switch_proxysubsequent requests should use the specified proxy
*)| `Temporary_redirectconnect again to different URI as provided
*)| `Permanent_redirectconnect again to a different URI using the same method
*) ]Redirection
val sexp_of_redirection_status : redirection_status -> Sexplib0.Sexp.tval redirection_status_of_sexp : Sexplib0.Sexp.t -> redirection_statusval __redirection_status_of_sexp__ : Sexplib0.Sexp.t -> redirection_statustype client_error_status = [ | `Bad_requestrequest cannot be fulfilled due to bad syntax
*)| `Payment_requiredpayment required, reserved for future use
*)| `Forbiddenserver refuses to respond to request
*)| `Not_foundrequested resource could not be found
*)| `Method_not_allowedrequest method not supported by that resource
*)| `Not_acceptablecontent not acceptable according to the Accept headers
*)| `Proxy_authentication_requiredclient must first authenticate itself with the proxy
*)| `Request_timeoutserver timed out waiting for the request
*)| `Conflictrequest could not be processed because of conflict
*)| `Goneresource is no longer available and will not be available again
*)| `Length_requiredrequest did not specify the length of its content
*)| `Precondition_failedserver does not meet request preconditions
*)| `Request_entity_too_largerequest is larger than the server is willing or able to process
*)| `Request_uri_too_longURI provided was too long for the server to process
*)| `Unsupported_media_typeserver does not support media type
*)| `Requested_range_not_satisfiableclient has asked for unprovidable portion of the file
*)| `Expectation_failedserver cannot meet requirements of Expect request-header field
*)| `I_m_a_teapotI'm a teapot
*)| `Enhance_your_calmTwitter rate limiting
*)| `Unprocessable_entityrequest unable to be followed due to semantic errors
*)| `Lockedresource that is being accessed is locked
*)| `Failed_dependencyrequest failed due to failure of a previous request
*)| `Upgrade_requiredclient should switch to a different protocol
*)| `Precondition_requiredorigin server requires the request to be conditional
*)| `Too_many_requestsuser has sent too many requests in a given amount of time
*)| `Request_header_fields_too_largeserver is unwilling to process the request
*)| `No_responseserver returns no information and closes the connection
*)| `Retry_withrequest should be retried after performing action
*)| `Blocked_by_windows_parental_controlsWindows Parental Controls blocking access to webpage
*)| `Wrong_exchange_serverthe server cannot reach the client's mailbox
*)| `Client_closed_requestconnection closed by client while HTTP server is processing
*) ]Client_error
val sexp_of_client_error_status : client_error_status -> Sexplib0.Sexp.tval client_error_status_of_sexp : Sexplib0.Sexp.t -> client_error_statusval __client_error_status_of_sexp__ : Sexplib0.Sexp.t -> client_error_statustype server_error_status = [ | `Internal_server_errorgeneric error message
*)| `Not_implementedserver does not recognise method or lacks ability to fulfill
*)| `Bad_gatewayserver received an invalid response from upstream server
*)| `Gateway_timeoutgateway did not receive response from upstream server
*)| `Http_version_not_supportedserver does not support the HTTP protocol version
*)| `Variant_also_negotiatescontent negotiation for the request results in a circular reference
*)| `Insufficient_storageserver is unable to store the representation
*)| `Loop_detectedserver detected an infinite loop while processing the request
*)| `Bandwidth_limit_exceededbandwidth limit exceeded
*)| `Not_extendedfurther extensions to the request are required
*)| `Network_authentication_requiredclient needs to authenticate to gain network access
*)| `Network_read_timeout_errornetwork read timeout behind the proxy
*)| `Network_connect_timeout_errornetwork connect timeout behind the proxy
*) ]Server_error
val sexp_of_server_error_status : server_error_status -> Sexplib0.Sexp.tval server_error_status_of_sexp : Sexplib0.Sexp.t -> server_error_statusval __server_error_status_of_sexp__ : Sexplib0.Sexp.t -> server_error_statustype status = [ | informational_status| success_status| redirection_status| client_error_status| server_error_status ]val sexp_of_status : status -> Sexplib0.Sexp.tval status_of_sexp : Sexplib0.Sexp.t -> statusval __status_of_sexp__ : Sexplib0.Sexp.t -> statusval sexp_of_status_code : status_code -> Sexplib0.Sexp.tval status_code_of_sexp : Sexplib0.Sexp.t -> status_codeval __status_code_of_sexp__ : Sexplib0.Sexp.t -> status_codeval string_of_version : version -> stringConvert a version to a string.
val version_of_string : string -> versionConvert a string to a version.
val string_of_method : meth -> stringConvert a method to a string.
val method_of_string : string -> methConvert a string to a method.
val status_of_code : int -> status_codeGenerate status values from int codes.
val code_of_status : status_code -> intGenerate an int code from a status value.
val string_of_status : status_code -> stringGive a description of the given status value.
Is the given int code belong to the class of "informational" return code ?
Is the given int code belong to the class of "redirection" return code ?
Is the given int code belong to the class of "client_error" return code ?
Is the given int code belong to the class of "server_error" return code ?