1
0
Fork 0

Merge 'v1.3.5'

This commit is contained in:
Fernandez Ludovic 2017-08-01 19:32:44 +02:00
commit d456c2ce6a
23 changed files with 1833 additions and 138 deletions

View file

@ -16,5 +16,6 @@ type ReplacePath struct {
func (s *ReplacePath) ServeHTTP(w http.ResponseWriter, r *http.Request) {
r.Header.Add(ReplacedPathHeader, r.URL.Path)
r.URL.Path = s.Path
r.RequestURI = r.URL.RequestURI()
s.Handler.ServeHTTP(w, r)
}