Status
struct StatusCommon HTTP status code constants (RFC 7231 §6).
Implements Movable
comptime OK = Int(200)comptime CREATED = Int(201)comptime ACCEPTED = Int(202)comptime NO_CONTENT = Int(204)comptime MOVED_PERMANENTLY = Int(301)comptime FOUND = Int(302)comptime NOT_MODIFIED = Int(304)comptime TEMPORARY_REDIRECT = Int(307)comptime PERMANENT_REDIRECT = Int(308)comptime BAD_REQUEST = Int(400)comptime UNAUTHORIZED = Int(401)comptime FORBIDDEN = Int(403)comptime NOT_FOUND = Int(404)comptime METHOD_NOT_ALLOWED = Int(405)comptime REQUEST_TIMEOUT = Int(408)comptime CONTENT_TOO_LARGE = Int(413)comptime URI_TOO_LONG = Int(414)comptime HEADER_FIELDS_TOO_LARGE = Int(431)comptime INTERNAL_SERVER_ERROR = Int(500)comptime BAD_GATEWAY = Int(502)comptime SERVICE_UNAVAILABLE = Int(503)comptime GATEWAY_TIMEOUT = Int(504)