/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* HttpStatus.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: acossari +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/08/20 19:29:20 by acossari #+# #+# */ /* Updated: 2026/08/21 19:32:48 by acossari ### ########.fr */ /* */ /* ************************************************************************** */ #pragma once namespace webserv { enum class HttpStatus { // Success Ok = 200, Created = 201, NoContent = 204, // Redirection MovedPermanently = 301, Found = 302, SeeOther = 303, TemporaryRedirect = 307, PermanentRedirect = 308, // Client errors BadRequest = 400, Forbidden = 403, NotFound = 404, MethodNotAllowed = 405, RequestTimeout = 408, LengthRequired = 411, ContentTooLarge = 413, UriTooLong = 414, RequestHeaderFieldsTooLarge = 431, // Server errors InternalServerError = 500, NotImplemented = 501, BadGateway = 502, ServiceUnavailable = 503, GatewayTimeout = 504, HttpVersionNotSupported = 505, }; } // namespace webserv