Source file vif_status.ml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
type informational = [ `Continue | `Switching_protocols ]
type successful =
[ `OK
| `Created
| `Accepted
| `Non_authoritative_information
| `No_content
| `Reset_content
| `Partial_content ]
type redirection =
[ `Multiple_choices
| `Moved_permanently
| `Found
| `See_other
| `Not_modified
| `Temporary_redirect
| `Use_proxy ]
type 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
|
`Upgrade_required
| `Precondition_required
| `Too_many_requests
| `Request_header_fields_too_large
| `Enhance_your_calm
| `I_m_a_teapot ]
type server_error =
[ `Internal_server_error
| `Not_implemented
| `Bad_gateway
| `Service_unavailable
| `Gateway_timeout
| `Http_version_not_supported
| `Network_authentication_required ]
type standard =
[ informational | successful | redirection | client_error | server_error ]
type t = [ standard | `Code of int ]