Change-Id: I35d20ed958c32d464b2c9d849403b6e3f99b6482
Reviewed-on: https://go-review.googlesource.com/11343
Reviewed-by: Russ Cox <rsc@golang.org>
&Request{
Method: "GET",
URL: &url.URL{
- Scheme: "http",
- Host: "www.techcrunch.com",
- Path: "/",
+ Scheme: "http",
+ Host: "www.techcrunch.com",
+ Path: "/",
+ RawPath: "/",
},
Proto: "HTTP/1.1",
ProtoMajor: 1,
&Request{
Method: "GET",
URL: &url.URL{
- Path: "/",
+ Path: "/",
+ RawPath: "/",
},
Proto: "HTTP/1.1",
ProtoMajor: 1,
&Request{
Method: "GET",
URL: &url.URL{
- Path: "//user@host/is/actually/a/path/",
+ Path: "//user@host/is/actually/a/path/",
+ RawPath: "//user@host/is/actually/a/path/",
},
Proto: "HTTP/1.1",
ProtoMajor: 1,
&Request{
Method: "POST",
URL: &url.URL{
- Path: "/",
+ Path: "/",
+ RawPath: "/",
},
TransferEncoding: []string{"chunked"},
Proto: "HTTP/1.1",
&Request{
Method: "CONNECT",
URL: &url.URL{
- Path: "/_goRPC_",
+ Path: "/_goRPC_",
+ RawPath: "/_goRPC_",
},
Proto: "HTTP/1.1",
ProtoMajor: 1,
&Request{
Method: "GET",
URL: &url.URL{
- Path: "/",
+ Path: "/",
+ RawPath: "/",
},
Header: Header{
// This wasn't removed from Go 1.0 to