net/http: incorrectly redirect (301) if request payload include port number #51892
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
server.go
client.go
What did you expect to see?
HTTP/1.1 400 Bad Request
What did you see instead?
HTTP/1.1 301 Moved Permanently
The text was updated successfully, but these errors were encountered: