Skip to content

Commit

Permalink
Merge pull request #74 from ArtisanCloud/feature/httpRequest
Browse files Browse the repository at this point in the history
fix(http): replace request host after set url
  • Loading branch information
Matrix-X authored Feb 3, 2023
2 parents 4e87294 + c26f467 commit 7788735
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 7788735

Please sign in to comment.