]> Cypherpunks repositories - gostls13.git/commit
http: fix scheme-relative URL parsing; add ParseRequestURL
authorBrad Fitzpatrick <brad@danga.com>
Thu, 13 Jan 2011 22:10:02 +0000 (09:10 +1100)
committerAndrew Gerrand <adg@golang.org>
Thu, 13 Jan 2011 22:10:02 +0000 (09:10 +1100)
commitb448263f7929554c1a54474826722cebb751f4e7
tree2ac15db9a86e9cf3d6a456b1a64f57748532e196
parentf6f1401286adc6e67fc2a9f5b9651ef8ead309c9
http: fix scheme-relative URL parsing; add ParseRequestURL

Also adds some tests for Issue 900 which was the reason
the current URL parsing is broken.  (the previous fix
was wrong)

R=rsc, adg, dangabrad, bradfitzwork
CC=golang-dev
https://golang.org/cl/3910042
src/pkg/http/readrequest_test.go
src/pkg/http/request.go
src/pkg/http/serve_test.go
src/pkg/http/url.go
src/pkg/http/url_test.go