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
mikioh
changed the title
http.NewRequest surprising behaviour with escaped forward slashes
net/http: NewRequest surprising behaviour with escaped forward slashes
Aug 3, 2015
What version of Go are you using (go version)?
go version go1.4.2 darwin/amd64
What operating system and processor architecture are you using?
OSX Mavericks 10.10.4
What did you do?
I tried to issue a HTTP request using
http.NewRequest
like this:What did you expect to see?
I expected to see a request fired to the remote server with a path of
/encoded%2fslashes
.What did you see instead?
A request was fired to the remote server with a path of
/encoded/slashes
.The text was updated successfully, but these errors were encountered: