Http.Status
Status codes.
type t = int
The type for status codes.
val reason_phrase : t -> string
reason_phrase s is s's reason phrase.
reason_phrase s
s
val pp : Stdlib.Format.formatter -> t -> unit
pp formats status codes for inspection.
pp
val continue_100 : t
100
val switching_protocols_101 : t
101
val ok_200 : t
200
val created_201 : t
201
val accepted_202 : t
202
val non_authoritative_information_203 : t
203
val no_content_204 : t
204
val reset_content_205 : t
205
val partial_content_206 : t
206
val multiple_choices_300 : t
300
val moved_permanently_301 : t
301
val found_302 : t
302
val see_other_303 : t
303
val not_modified_304 : t
304
val use_proxy_305 : t
305
val temporary_redirect_307 : t
307
val permanent_redirect_308 : t
308
val bad_request_400 : t
400
val unauthorized_401 : t
401
val payement_required_402 : t
402
val forbidden_403 : t
403
val not_found_404 : t
404
val method_not_allowed_405 : t
405
val not_acceptable_406 : t
406
val proxy_authentication_required_407 : t
407
val request_time_out_408 : t
408
val conflict_409 : t
409
val gone_410 : t
410
val length_required_411 : t
411
val precondition_failed_412 : t
412
val content_too_large_413 : t
413
val uri_too_long_414 : t
414
val unsupported_media_type_415 : t
415
val range_not_satisfiable_416 : t
416
val expectation_failed_417 : t
417
val i'm_a_teapot_418 : t
418
val upgrade_required_426 : t
436
val server_error_500 : t
500
val not_implemented_501 : t
501
val bad_gateway_502 : t
502
val service_unavailable_503 : t
503
val gateway_time_out_504 : t
504
val http_version_not_supported_505 : t
505