Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http requests seem to ignore Host headers? #29865
What version of Go are you using (
Set the Host field in https://golang.org/pkg/net/http/#Request to override the host value in the URL.