From 8517904bcfb7c1868ab0d6e05a4e5d9c90471ec0 Mon Sep 17 00:00:00 2001 From: Alexander Ermolaev Date: Thu, 22 Feb 2018 18:25:56 +0300 Subject: [PATCH] fix a typo Former-commit-id: 8b8e3eaff43019fc0503708e8bc33a2fdb6f1496 --- context/context.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/context/context.go b/context/context.go index dc3ecf80..782b12c4 100644 --- a/context/context.go +++ b/context/context.go @@ -3097,7 +3097,7 @@ func (ctx *context) Exec(method string, path string) { // backup the request path information backupPath := ctx.Path() - bakcupMethod := ctx.Method() + backupMethod := ctx.Method() // don't backupValues := ctx.Values().ReadOnly() // [sessions stays] @@ -3120,7 +3120,7 @@ func (ctx *context) Exec(method string, path string) { // set the request back to its previous state req.RequestURI = backupPath req.URL.Path = backupPath - req.Method = bakcupMethod + req.Method = backupMethod // don't fill the values in order to be able to communicate from and to. // // fill the values as they were before