summaryrefslogtreecommitdiffstats
path: root/libgo/go/http/request.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/http/request.go')
-rw-r--r--libgo/go/http/request.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/http/request.go b/libgo/go/http/request.go
index b88689988d8..04bebaaf55b 100644
--- a/libgo/go/http/request.go
+++ b/libgo/go/http/request.go
@@ -504,7 +504,7 @@ func ReadRequest(b *bufio.Reader) (req *Request, err os.Error) {
return nil, &badStringError{"malformed HTTP version", req.Proto}
}
- if req.URL, err = ParseURL(req.RawURL); err != nil {
+ if req.URL, err = ParseRequestURL(req.RawURL); err != nil {
return nil, err
}
OpenPOWER on IntegriCloud