Remove duplicated code to remove hop headers
@@ -155,10 +155,6 @@ func copyHeaders(destination http.Header, source *http.Header) {
copy(vClone, v)
(destination)[k] = vClone
}
-
- for _, h := range hopHeaders {
- destination.Del(h)
- }
}
func deleteHeaders(target *http.Header, exclude *[]string) {
