Merge pull request #102343 from seans3/remove-x-headers

Changes headers to remove "X-" prefix (IETF deprecation)
This commit is contained in:
Kubernetes Prow Robot 2021-05-27 08:18:35 -07:00 committed by GitHub
commit 2709b13dba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,8 +25,8 @@ import (
)
const (
kubectlCommandHeader = "X-Kubectl-Command"
kubectlSessionHeader = "X-Kubectl-Session"
kubectlCommandHeader = "Kubectl-Command"
kubectlSessionHeader = "Kubectl-Session"
)
// CommandHeaderRoundTripper adds a layer around the standard