Ibrahim AshShohail
2fb3ba71f1
Update usages of http.ResponseWriter.WriteHeader to use http.Error
...
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com>
2018-10-14 05:58:00 +03:00
xuzhonghu
204d994aca
Enable kubectl proxy to set tcp keepalive
2018-06-25 11:03:05 +08:00
Clayton Coleman
8f41db8100
Allow bearer requests to be proxied by kubectl proxy
...
Use a fake transport to capture changes to the request and then surface
them back to the end user.
2017-08-24 20:16:59 -04:00
Clayton Coleman
0daee3ad22
Use the UpgradeAwareProxy in kubectl proxy
...
Requires a separate transport that is guaranteed not to be HTTP/2 for
exec/attach/portforward, because otherwise the Go client attempts to
upgrade us to HTTP/2 first.
2017-08-04 12:48:21 -04:00
Clayton Coleman
fa009f3914
Ensure proxy server code is logically distinct
2017-08-04 12:48:17 -04:00
Clayton Coleman
7013047c16
Move proxy code to its own package
2017-08-04 12:48:11 -04:00