mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #32786 from aofry/issue-32747
Automatic merge from submit-queue prevent printing of stack trace when proxying 304 requests in api gateway partially addresses #32747.
This commit is contained in:
commit
a2c186dbd0
@ -152,6 +152,7 @@ func RecoverPanics(handler http.Handler) http.Handler {
|
|||||||
http.StatusNotFound,
|
http.StatusNotFound,
|
||||||
http.StatusUnauthorized,
|
http.StatusUnauthorized,
|
||||||
http.StatusForbidden,
|
http.StatusForbidden,
|
||||||
|
http.StatusNotModified,
|
||||||
errors.StatusUnprocessableEntity,
|
errors.StatusUnprocessableEntity,
|
||||||
http.StatusSwitchingProtocols,
|
http.StatusSwitchingProtocols,
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user