From 70656bb64ab77e13fb6e77900377509909fa17fa Mon Sep 17 00:00:00 2001 From: Nghia Tran Date: Fri, 17 Aug 2018 17:28:54 -0400 Subject: [PATCH] Remove no longer needed workaround. --- pkg/activator/handler/handler.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/activator/handler/handler.go b/pkg/activator/handler/handler.go index d79464f0976b..b433c3d073e0 100644 --- a/pkg/activator/handler/handler.go +++ b/pkg/activator/handler/handler.go @@ -55,9 +55,5 @@ func (a *ActivationHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { proxy := httputil.NewSingleHostReverseProxy(target) proxy.Transport = a.Transport - // TODO: Clear the host to avoid 404's. - // https://github.com/knative/serving/issues/964 - r.Host = "" - proxy.ServeHTTP(w, r) }