net/http: don't modify Request Method's case
This fixes a data race (usually just harmlessly updating "GET" to "GET"), but also follows RFC 2616 Sec 5.1.1 which says that the request method is case-sensitive. Fixes #3881 R=golang-dev, rsc, dsymonds CC=golang-dev https://golang.org/cl/6446063
Showing
Please register or sign in to comment