kubectl-proxy changes http-header-keys to capitalized #1673
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened:
When I am using
kubectl proxy
, the past proxy http request header keys are converted to initial capital.What you expected to happen:
HTTP/1.1
According to RFC 7230, section 3.2:
HTTP/2.0
Quoting RFC 7540, section 8.1.2:
How to reproduce it (as minimally and precisely as possible):
Use
kubectl proxy
and log all headers in svc-podsAnything else we need to know?:
Happened both in aks and local k3s.
I'm not sure if this is a bug or intended?
Environment:
aks
local
The text was updated successfully, but these errors were encountered: