SIGN IN SIGN UP
gin-gonic / gin UNCLAIMED

Gin is a high-performance HTTP web framework written in Go. It provides a Martini-like API but with significantly better performance—up to 40 times faster—thanks to httprouter. Gin is designed for building REST APIs, web applications, and microservices.

0 0 82 Go

refactor: replace magic numbers with named constants in bodyAllowedForStatus (#4529)

Use http.StatusContinue and http.StatusOK instead of hardcoded 100 and
199 for the 1xx informational status range check, consistent with the
pattern already used in logger.go.

Fixes #4489
V
Varun Chawla committed
488f8c3ffa579a8d19beb2bae95ff8ef36b3d53f
Parent: 8e07d37
Committed by GitHub <noreply@github.com> on 2/13/2026, 5:55:23 AM