Skip to content

Commit

Permalink
fix(http): replace request host after set url
Browse files Browse the repository at this point in the history
  • Loading branch information
Matrix-X committed Feb 3, 2023
1 parent d3dbc4e commit c26f467
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http/dataflow/dataflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit c26f467

Please sign in to comment.