diff --git a/src/pkg/http/client.go b/src/pkg/http/client.go index cc0ac323dc6..56d8d836932 100644 --- a/src/pkg/http/client.go +++ b/src/pkg/http/client.go @@ -321,11 +321,7 @@ func Head(url string) (r *Response, err os.Error) { if req.URL, err = ParseURL(url); err != nil { return } - url = req.URL.String() - if r, err = send(&req); err != nil { - return - } - return + return send(&req) } type nopCloser struct {