mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	prevent printing of stack trace when proxying 304 requests in api gateway
This commit is contained in:
		@@ -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,
 | 
				
			||||||
			),
 | 
								),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user