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.
pull/6/head
Kubernetes Submit Queue 2016-09-15 20:58:38 -07:00 committed by GitHub
commit a2c186dbd0
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ func RecoverPanics(handler http.Handler) http.Handler {
http.StatusNotFound,
http.StatusUnauthorized,
http.StatusForbidden,
http.StatusNotModified,
errors.StatusUnprocessableEntity,
http.StatusSwitchingProtocols,
),