Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: incomplete http host header passed with net/http on go 1.5.1 #12997
This code below results in an incomplete HTTP Host header being passed on go version go1.5.1 linux/amd64. Older versions did not show this problem (tested on go version go1.3 linux/amd64)
Request sent (go version go1.5.1 linux/amd64)
Request sent (go version go1.3 linux/amd64)
Technically both versions are non compliant.
The workaround for you is to not pass a URL to that field.
I think the solution would be to leverage the fact that method returns an
On Tue, Oct 20, 2015 at 4:30 PM, Nishanth B firstname.lastname@example.org