1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-15 01:34:53 +02:00

Bit of more cleanup

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2018-02-21 11:38:22 -08:00
parent f49d166e6f
commit 4f3080c197
5 changed files with 8 additions and 9 deletions

View File

@ -563,7 +563,7 @@ func (e *Echo) ServeHTTP(w http.ResponseWriter, r *http.Request) {
// Middleware
h := func(c Context) error {
method := r.Method
rpath := r.URL.RawPath // raw path
rpath := r.URL.RawPath // Raw path
if rpath == "" {
rpath = r.URL.Path
}