24 #ifndef dodo_network_protocol_http_httpresponse_hpp
25 #define dodo_network_protocol_http_httpresponse_hpp
33 namespace network::protocol::http {
49 hcSwitchingProtocols = 101,
57 hcNonAuthoritiveInformation = 203,
60 hcPartialContent = 206,
62 hcAlreadyReported = 208,
66 hcMultipleChoices = 300,
67 hcMovedPermanently = 301,
73 hcTemporaryRedirect = 307,
74 hcPermanentRedirect = 308,
79 hcPaymentRequired = 402,
82 hcMethodNotAllowed = 405,
83 hcNotAcceptable = 406,
84 hcProxyAuthenticationRequired = 407,
85 hcRequestTimeout = 408,
88 hcLengthRequired = 411,
89 hcPreconditionFailed = 412,
90 hcPayloadTooLarge = 413,
92 hcUnsupportedMediaType = 415,
93 hcRangeNotSatisfiable = 416,
94 hcExpectationFailed = 417,
96 hcMisdirectRequest = 421,
97 hcUnporessableEntity = 422,
99 hcFailedDependency = 424,
100 hcUpgradeRequired = 426,
101 hcPreconditionRequired = 428,
102 hcTooManyRequests = 429,
103 hcRequestHeaderFieldsTooLarge = 431,
104 hcUnavailableForLegalReasons = 451,
107 hcInternalServerError = 500,
108 hcNotImplemented = 501,
110 hcServiceUnavailable = 503,
111 hcGatewayTimeout = 504,
112 hcHTTPVersionNotSupported = 505,
113 hcVariantAlsoNegotiates = 506,
114 hcInsufficientStorage = 507,
115 hcLoopDetected = 508,
117 hcNetworkAuthenticationRequired = 511,
123 hcMethodFailure = 420,
124 hcEnhanceYourCalm = 420,
125 hcBlockedByWindowsParentalControls = 450,
126 hcInvalidToken = 498,
127 hcTokenRequired = 499,
128 hcBandwidthLimitExceeded = 509,
129 hcInvalidSSLCertificate = 526,
130 hcSiteIsFrozen = 530,
131 hcNetworkReadTimeoutError = 598,
134 hcLoginTimeout = 440,
140 hcRequestHeaderTooLarge = 494,
141 hcSSLCertificateError = 495,
142 hcSSLCertificateRequired = 496,
143 hcHHTPRequestSentToHTTPSPort = 497,
144 hcClientClosedrequest = 499,
147 hcUnknownError = 520,
148 hcWebServerIsDown = 521,
149 hcConnectionTimedOut = 522,
150 hcOriginIsUnreachable = 523,
151 hcATimeoutOccured = 524,
152 hcSSLHandshakeFailed = 525,
153 hcRailgunError = 527,
154 hcOriginDNSError = 530,
180 virtual std::string
asString()
const;
225 virtual std::string
asString()
const;