package vif

  1. Overview
  2. Docs

Module Vif_core.StatusSource

Sourcetype informational = [
  1. | `Continue
  2. | `Switching_protocols
]
Sourcetype successful = [
  1. | `OK
  2. | `Created
  3. | `Accepted
  4. | `Non_authoritative_information
  5. | `No_content
  6. | `Reset_content
  7. | `Partial_content
]
Sourcetype redirection = [
  1. | `Multiple_choices
  2. | `Moved_permanently
  3. | `Found
  4. | `See_other
  5. | `Not_modified
  6. | `Temporary_redirect
  7. | `Use_proxy
]
Sourcetype client_error = [
  1. | `Bad_request
  2. | `Unauthorized
  3. | `Payment_required
  4. | `Forbidden
  5. | `Not_found
  6. | `Method_not_allowed
  7. | `Not_acceptable
  8. | `Proxy_authentication_required
  9. | `Request_timeout
  10. | `Conflict
  11. | `Gone
  12. | `Length_required
  13. | `Precondition_failed
  14. | `Payload_too_large
  15. | `Uri_too_long
  16. | `Unsupported_media_type
  17. | `Range_not_satisfiable
  18. | `Expectation_failed
  19. | `Misdirected_request
  20. | `Upgrade_required
  21. | `Precondition_required
  22. | `Too_many_requests
  23. | `Request_header_fields_too_large
  24. | `Enhance_your_calm
  25. | `I_m_a_teapot
]
Sourcetype server_error = [
  1. | `Internal_server_error
  2. | `Not_implemented
  3. | `Bad_gateway
  4. | `Service_unavailable
  5. | `Gateway_timeout
  6. | `Http_version_not_supported
  7. | `Network_authentication_required
]
Sourcetype t = [
  1. | standard
  2. | `Code of int
]