bolt_web/http.rs
1#[allow(dead_code)]
2#[derive(Clone, Copy)]
3pub enum StatusCode {
4 Continue, //100
5 SwitchingProtocols, //101
6 Processing, //102
7 EarlyHints, //103
8
9 OK, //200
10 Created, //201
11 Accepted, //202
12 NonAuthoritativeInformation, //203
13 NoContent, //204
14 ResetContent, //205
15 PartialContent, //206
16
17 MovedPermanently, //301
18 Found, //302
19 SeeOther, //303
20 NotModified, //304
21 TemporaryRedirect, //307
22 PermanentRedirect, //308
23
24 BadRequest, //400
25 Unauthorized, //401
26 PaymentRequired, //402
27 Forbidden, //403
28 NotFound, //404
29 MethodNotAllowed, //405
30 NotAcceptable, //406
31 ProxyAuthenticationRequired, //407
32 RequestTimeout, //408
33 Conflict, //409
34 Gone, //410
35 LengthRequired, //411
36 PreconditionFailed, //412
37 ContentTooLarge, //413
38 URITooLong, //414
39 UnsupportedMediaType, //415
40 TooManyRequests, //429
41
42 InternalServerError, //500
43 NotImplemented, //501
44 BadGateway, //502
45 ServiceUnavailable, //503
46 GatewayTimeout, //504
47 HTTPVersionNotSupported, //505
48}