package main import ( "github.com/gofiber/fiber/v2" ) var ( rngRetCodes = [...]int{ fiber.StatusTeapot, fiber.StatusEarlyHints, fiber.StatusNonAuthoritativeInformation, fiber.StatusNoContent, fiber.StatusResetContent, fiber.StatusMultiStatus, fiber.StatusAlreadyReported, fiber.StatusIMUsed, 267, // https://github.com/maximal/http-267 fiber.StatusSwitchProxy, fiber.StatusPaymentRequired, fiber.StatusNotAcceptable, fiber.StatusProxyAuthRequired, fiber.StatusConflict, fiber.StatusGone, fiber.StatusPreconditionFailed, fiber.StatusRequestEntityTooLarge, fiber.StatusRequestURITooLong, fiber.StatusUnsupportedMediaType, fiber.StatusRequestedRangeNotSatisfiable, fiber.StatusExpectationFailed, fiber.StatusMisdirectedRequest, fiber.StatusUnprocessableEntity, fiber.StatusLocked, fiber.StatusFailedDependency, fiber.StatusTooEarly, fiber.StatusUpgradeRequired, fiber.StatusPreconditionRequired, fiber.StatusTooManyRequests, fiber.StatusRequestHeaderFieldsTooLarge, 444, // nginx gone wild fiber.StatusUnavailableForLegalReasons, 499, // try harder comrade! } n_rngRetCodes = 1 )