Module Dream_pure.StatusSource
Sourcetype successful = [ | `OK| `Created| `Accepted| `Non_Authoritative_Information| `No_Content| `Reset_Content| `Partial_Content
] Sourcetype redirection = [ | `Multiple_Choices| `Moved_Permanently| `Found| `See_Other| `Not_Modified| `Temporary_Redirect| `Permanent_Redirect
] Sourcetype client_error = [ | `Bad_Request| `Unauthorized| `Payment_Required| `Forbidden| `Not_Found| `Method_Not_Allowed| `Not_Acceptable| `Proxy_Authentication_Required| `Request_Timeout| `Conflict| `Gone| `Length_Required| `Precondition_Failed| `Payload_Too_Large| `URI_Too_Long| `Unsupported_Media_Type| `Range_Not_Satisfiable| `Expectation_Failed| `Misdirected_Request| `Too_Early| `Upgrade_Required| `Precondition_Required| `Too_Many_Requests| `Unavailable_For_Legal_Reasons
] Sourcetype server_error = [ | `Internal_Server_Error| `Not_Implemented| `Bad_Gateway| `Service_Unavailable| `Gateway_Timeout| `HTTP_Version_Not_Supported
] Sourceval status_to_int :
[< `Accepted
| `Bad_Gateway
| `Bad_Request
| `Conflict
| `Continue
| `Created
| `Expectation_Failed
| `Forbidden
| `Found
| `Gateway_Timeout
| `Gone
| `HTTP_Version_Not_Supported
| `Internal_Server_Error
| `Length_Required
| `Method_Not_Allowed
| `Misdirected_Request
| `Moved_Permanently
| `Multiple_Choices
| `No_Content
| `Non_Authoritative_Information
| `Not_Acceptable
| `Not_Found
| `Not_Implemented
| `Not_Modified
| `OK
| `Partial_Content
| `Payload_Too_Large
| `Payment_Required
| `Permanent_Redirect
| `Precondition_Failed
| `Precondition_Required
| `Proxy_Authentication_Required
| `Range_Not_Satisfiable
| `Request_Header_Fields_Too_Large
| `Request_Timeout
| `Reset_Content
| `See_Other
| `Service_Unavailable
| `Status of int
| `Switching_Protocols
| `Temporary_Redirect
| `Too_Early
| `Too_Many_Requests
| `URI_Too_Long
| `Unauthorized
| `Unavailable_For_Legal_Reasons
| `Unsupported_Media_Type
| `Upgrade_Required ] ->
int Sourceval status_to_reason :
[< `Accepted
| `Bad_Gateway
| `Bad_Request
| `Conflict
| `Continue
| `Created
| `Expectation_Failed
| `Forbidden
| `Found
| `Gateway_Timeout
| `Gone
| `HTTP_Version_Not_Supported
| `Internal_Server_Error
| `Length_Required
| `Method_Not_Allowed
| `Misdirected_Request
| `Moved_Permanently
| `Multiple_Choices
| `No_Content
| `Non_Authoritative_Information
| `Not_Acceptable
| `Not_Found
| `Not_Implemented
| `Not_Modified
| `OK
| `Partial_Content
| `Payload_Too_Large
| `Payment_Required
| `Permanent_Redirect
| `Precondition_Failed
| `Precondition_Required
| `Proxy_Authentication_Required
| `Range_Not_Satisfiable
| `Request_Header_Fields_Too_Large
| `Request_Timeout
| `Reset_Content
| `See_Other
| `Service_Unavailable
| `Status of int
| `Switching_Protocols
| `Temporary_Redirect
| `Too_Early
| `Too_Many_Requests
| `URI_Too_Long
| `Unauthorized
| `Unavailable_For_Legal_Reasons
| `Unsupported_Media_Type
| `Upgrade_Required ] ->
string option Sourceval status_to_string :
[< `Accepted
| `Bad_Gateway
| `Bad_Request
| `Conflict
| `Continue
| `Created
| `Expectation_Failed
| `Forbidden
| `Found
| `Gateway_Timeout
| `Gone
| `HTTP_Version_Not_Supported
| `Internal_Server_Error
| `Length_Required
| `Method_Not_Allowed
| `Misdirected_Request
| `Moved_Permanently
| `Multiple_Choices
| `No_Content
| `Non_Authoritative_Information
| `Not_Acceptable
| `Not_Found
| `Not_Implemented
| `Not_Modified
| `OK
| `Partial_Content
| `Payload_Too_Large
| `Payment_Required
| `Permanent_Redirect
| `Precondition_Failed
| `Precondition_Required
| `Proxy_Authentication_Required
| `Range_Not_Satisfiable
| `Request_Header_Fields_Too_Large
| `Request_Timeout
| `Reset_Content
| `See_Other
| `Service_Unavailable
| `Status of int
| `Switching_Protocols
| `Temporary_Redirect
| `Too_Early
| `Too_Many_Requests
| `URI_Too_Long
| `Unauthorized
| `Unavailable_For_Legal_Reasons
| `Unsupported_Media_Type
| `Upgrade_Required ] ->
string Sourceval normalize_status :
[< `Accepted
| `Bad_Gateway
| `Bad_Request
| `Conflict
| `Continue
| `Created
| `Expectation_Failed
| `Forbidden
| `Found
| `Gateway_Timeout
| `Gone
| `HTTP_Version_Not_Supported
| `Internal_Server_Error
| `Length_Required
| `Method_Not_Allowed
| `Misdirected_Request
| `Moved_Permanently
| `Multiple_Choices
| `No_Content
| `Non_Authoritative_Information
| `Not_Acceptable
| `Not_Found
| `Not_Implemented
| `Not_Modified
| `OK
| `Partial_Content
| `Payload_Too_Large
| `Payment_Required
| `Permanent_Redirect
| `Precondition_Failed
| `Precondition_Required
| `Proxy_Authentication_Required
| `Range_Not_Satisfiable
| `Request_Header_Fields_Too_Large
| `Request_Timeout
| `Reset_Content
| `See_Other
| `Service_Unavailable
| `Status of int
| `Switching_Protocols
| `Temporary_Redirect
| `Too_Early
| `Too_Many_Requests
| `URI_Too_Long
| `Unauthorized
| `Unavailable_For_Legal_Reasons
| `Unsupported_Media_Type
| `Upgrade_Required ] ->
status Sourceval status_codes_equal :
[< `Accepted
| `Bad_Gateway
| `Bad_Request
| `Conflict
| `Continue
| `Created
| `Expectation_Failed
| `Forbidden
| `Found
| `Gateway_Timeout
| `Gone
| `HTTP_Version_Not_Supported
| `Internal_Server_Error
| `Length_Required
| `Method_Not_Allowed
| `Misdirected_Request
| `Moved_Permanently
| `Multiple_Choices
| `No_Content
| `Non_Authoritative_Information
| `Not_Acceptable
| `Not_Found
| `Not_Implemented
| `Not_Modified
| `OK
| `Partial_Content
| `Payload_Too_Large
| `Payment_Required
| `Permanent_Redirect
| `Precondition_Failed
| `Precondition_Required
| `Proxy_Authentication_Required
| `Range_Not_Satisfiable
| `Request_Header_Fields_Too_Large
| `Request_Timeout
| `Reset_Content
| `See_Other
| `Service_Unavailable
| `Status of int
| `Switching_Protocols
| `Temporary_Redirect
| `Too_Early
| `Too_Many_Requests
| `URI_Too_Long
| `Unauthorized
| `Unavailable_For_Legal_Reasons
| `Unsupported_Media_Type
| `Upgrade_Required ] ->
[< `Accepted
| `Bad_Gateway
| `Bad_Request
| `Conflict
| `Continue
| `Created
| `Expectation_Failed
| `Forbidden
| `Found
| `Gateway_Timeout
| `Gone
| `HTTP_Version_Not_Supported
| `Internal_Server_Error
| `Length_Required
| `Method_Not_Allowed
| `Misdirected_Request
| `Moved_Permanently
| `Multiple_Choices
| `No_Content
| `Non_Authoritative_Information
| `Not_Acceptable
| `Not_Found
| `Not_Implemented
| `Not_Modified
| `OK
| `Partial_Content
| `Payload_Too_Large
| `Payment_Required
| `Permanent_Redirect
| `Precondition_Failed
| `Precondition_Required
| `Proxy_Authentication_Required
| `Range_Not_Satisfiable
| `Request_Header_Fields_Too_Large
| `Request_Timeout
| `Reset_Content
| `See_Other
| `Service_Unavailable
| `Status of int
| `Switching_Protocols
| `Temporary_Redirect
| `Too_Early
| `Too_Many_Requests
| `URI_Too_Long
| `Unauthorized
| `Unavailable_For_Legal_Reasons
| `Unsupported_Media_Type
| `Upgrade_Required ] ->
bool