Skip to content

Commit a49ac02

Browse files
committed
do not explicitly set the request host
1 parent e1a1350 commit a49ac02

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

connected_roundtripper.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ func withDomainFront(req *http.Request, frontedHost string) *http.Request {
9393
newReq := req.Clone(req.Context())
9494
newReq.URL.Scheme = "http"
9595
newReq.URL.Host = frontedHost
96-
newReq.Host = frontedHost
9796

9897
return newReq
9998
}

0 commit comments

Comments
 (0)