1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-10 05:25:58 +00:00

fix a typo

Former-commit-id: 8b8e3eaff43019fc0503708e8bc33a2fdb6f1496
This commit is contained in:
Alexander Ermolaev
2018-02-22 18:25:56 +03:00
committed by GitHub
parent c0e0886cb9
commit 8517904bcf

View File

@@ -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