You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a http request in Go, the Host header isn't honored. From the docs:
// For client requests Host optionally overrides the Host
// header to send. If empty, the Request.Write method uses
// the value of URL.Host.
Host string Host string
I'd still expect the Host being set in the executor Headers, adding a check for it and setting req.Host respectively.
The text was updated successfully, but these errors were encountered:
titpetric
changed the title
feat(httpExecutor): support changing request hostname
bug(httpExecutor): support changing request hostname
Jan 20, 2020
When building a http request in Go, the Host header isn't honored. From the docs:
I'd still expect the Host being set in the executor Headers, adding a check for it and setting
req.Host
respectively.The text was updated successfully, but these errors were encountered: