diff options
| author | Russ Cox <rsc@golang.org> | 2010-09-27 21:54:04 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2010-09-27 21:54:04 -0400 |
| commit | 5c3827cb9fef53f1f6c4aadc7787e8d3540b0d59 (patch) | |
| tree | 24928ae6c6f795f53944b739b40dd60683abcbe9 /src/pkg/http/readrequest_test.go | |
| parent | 9ff4565e2b300c0fc6fdf9bcaa45f0baa789bf36 (diff) | |
| download | go-5c3827cb9fef53f1f6c4aadc7787e8d3540b0d59.tar.xz | |
http: correct escaping of different parts of URL
Fixes #1076.
R=adg
CC=golang-dev
https://golang.org/cl/2248045
Diffstat (limited to 'src/pkg/http/readrequest_test.go')
| -rw-r--r-- | src/pkg/http/readrequest_test.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/pkg/http/readrequest_test.go b/src/pkg/http/readrequest_test.go index 7654dbfc74..f3bcc9f3df 100644 --- a/src/pkg/http/readrequest_test.go +++ b/src/pkg/http/readrequest_test.go @@ -37,15 +37,15 @@ var reqTests = []reqTest{ Method: "GET", RawURL: "http://www.techcrunch.com/", URL: &URL{ - Raw: "http://www.techcrunch.com/", - Scheme: "http", - RawPath: "/", - Authority: "www.techcrunch.com", - Userinfo: "", - Host: "www.techcrunch.com", - Path: "/", - RawQuery: "", - Fragment: "", + Raw: "http://www.techcrunch.com/", + Scheme: "http", + RawPath: "/", + RawAuthority: "www.techcrunch.com", + RawUserinfo: "", + Host: "www.techcrunch.com", + Path: "/", + RawQuery: "", + Fragment: "", }, Proto: "HTTP/1.1", ProtoMajor: 1, |
