package scgi

  1. Overview
  2. Docs
type t = [
  1. | `Accepted
  2. | `Bad_gateway
  3. | `Bad_request
  4. | `Conflict
  5. | `Created
  6. | `Custom_code of int * string
  7. | `Expectation_failed
  8. | `Forbidden
  9. | `Found
  10. | `Gateway_timeout
  11. | `Gone
  12. | `Http_version_not_supported
  13. | `Internal_server_error
  14. | `Length_required
  15. | `Method_not_allowed
  16. | `Moved_permanently
  17. | `Multiple_choices
  18. | `No_content
  19. | `Non_authoritative_information
  20. | `Not_acceptable
  21. | `Not_found
  22. | `Not_implemented
  23. | `Not_modified
  24. | `Ok
  25. | `Partial_content
  26. | `Payment_required
  27. | `Precondition_failed
  28. | `Proxy_authentication_required
  29. | `Request_entity_too_large
  30. | `Request_timeout
  31. | `Request_uri_too_long
  32. | `Requested_range_not_satisfiable
  33. | `Reset_content
  34. | `See_other
  35. | `Service_unavailable
  36. | `Temporary_redirect
  37. | `Unauthorized
  38. | `Unsupported_media_type
]
val of_pair : (int * string) -> t
val to_pair : t -> int * string
val to_int : t -> int
val to_string : t -> string
OCaml

Innovation. Community. Security.