Skip to content

Commit a6c66a7

Browse files
committed
allow 418 TeaPot
1 parent c4c5886 commit a6c66a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware/cache/cache.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var ignoreHeaders = map[string]any{
5151
var cacheableStatusCodes = []int{
5252
fiber.StatusOK, fiber.StatusNonAuthoritativeInformation, fiber.StatusNoContent, fiber.StatusPartialContent,
5353
fiber.StatusMultipleChoices, fiber.StatusMovedPermanently,
54-
fiber.StatusNotFound, fiber.StatusMethodNotAllowed, fiber.StatusGone, fiber.StatusRequestURITooLong,
54+
fiber.StatusNotFound, fiber.StatusMethodNotAllowed, fiber.StatusGone, fiber.StatusTeapot, fiber.StatusRequestURITooLong,
5555
fiber.StatusNotImplemented,
5656
}
5757

0 commit comments

Comments
 (0)