refactor: replace magic numbers with named constants in bodyAllowedForStatus (#4529)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
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
authored by Varun Chawla · committed by GitHub · parent 8e07d37 · Browse files · 1 file+1 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−1 removed
- other:+1 added−1 removed