Http.Statustype informational = [ | `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
type success = [ | `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
type redirection = [ | `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
type client_error = [ | `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
type server_error = [ | `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 to_string : t -> stringval to_int : t -> intval of_int : int -> tval pp : Stdlib.Format.formatter -> t -> unit