From c26f467d4a47113466a3b7f44c37b7e4900df3a2 Mon Sep 17 00:00:00 2001 From: Matrix-X Date: Fri, 3 Feb 2023 20:33:11 +0800 Subject: [PATCH] fix(http): replace request host after set url --- http/dataflow/dataflow.go | 1 + 1 file changed, 1 insertion(+) diff --git a/http/dataflow/dataflow.go b/http/dataflow/dataflow.go index d54f107..7e6cb92 100644 --- a/http/dataflow/dataflow.go +++ b/http/dataflow/dataflow.go @@ -102,6 +102,7 @@ func (d *Dataflow) Url(requestUrl string) contract.RequestDataflowInterface { return d } d.request.URL = u + d.request.Host = u.Host return d }