Descriptionnet/http: fix inserting of implicit redirects in serve mux
In serve mux, if pattern contains a host name, pass only the path to
the redirect handler.
Add tests for serve mux redirections.
Patch Set 1 #Patch Set 2 : diff -r d730d2e4733d https://go.googlecode.com/hg/ #Patch Set 3 : diff -r d730d2e4733d https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 4 : diff -r d730d2e4733d https://go.googlecode.com/hg/ #Patch Set 5 : diff -r d730d2e4733d https://go.googlecode.com/hg/ #Patch Set 6 : diff -r f8a77e2b7d0b https://go.googlecode.com/hg/ #Patch Set 7 : diff -r f8a77e2b7d0b https://go.googlecode.com/hg/ #Patch Set 8 : diff -r 2f39e6389d55 https://go.googlecode.com/hg/ #Patch Set 9 : diff -r 2f39e6389d55 https://go.googlecode.com/hg/ #MessagesTotal messages: 12
|