• Brad Fitzpatrick's avatar
    net/http: add Request.RequestURI field · 899cd04e
    Brad Fitzpatrick authored
    The new url.URL's parsing can be too canonicalizing for
    certain applications. By keeping the original request URI
    around, we give applications a gross escape hatch while
    keeping the URL package clean and simple for normal uses.
    
    (From a discussion with Gary Burd, Gustavo Niemeyer,
    and Russ Cox.)
    
    Fixes #2782
    
    R=golang-dev, rsc, dsymonds
    CC=golang-dev
    https://golang.org/cl/5580044
    899cd04e
Name
Last commit
Last update
..
cgi Loading commit data...
fcgi Loading commit data...
httptest Loading commit data...
httputil Loading commit data...
pprof Loading commit data...
testdata Loading commit data...
Makefile Loading commit data...
chunked.go Loading commit data...
chunked_test.go Loading commit data...
client.go Loading commit data...
client_test.go Loading commit data...
cookie.go Loading commit data...
cookie_test.go Loading commit data...
doc.go Loading commit data...
export_test.go Loading commit data...
filetransport.go Loading commit data...
filetransport_test.go Loading commit data...
fs.go Loading commit data...
fs_test.go Loading commit data...
header.go Loading commit data...
header_test.go Loading commit data...
jar.go Loading commit data...
lex.go Loading commit data...
lex_test.go Loading commit data...
proxy_test.go Loading commit data...
range_test.go Loading commit data...
readrequest_test.go Loading commit data...
request.go Loading commit data...
request_test.go Loading commit data...
requestwrite_test.go Loading commit data...
response.go Loading commit data...
response_test.go Loading commit data...
responsewrite_test.go Loading commit data...
serve_test.go Loading commit data...
server.go Loading commit data...
sniff.go Loading commit data...
sniff_test.go Loading commit data...
status.go Loading commit data...
transfer.go Loading commit data...
transport.go Loading commit data...
transport_test.go Loading commit data...
triv.go Loading commit data...