mirror of
https://github.com/kataras/iris.git
synced 2025-03-14 08:16:28 +01:00
fix a typo by @aermolaev via PR: #910
Former-commit-id: 4cf236d03fa8e120b650367aaab15c9bac4ce9d3
This commit is contained in:
commit
9bfa0fb52b
|
@ -3097,7 +3097,7 @@ func (ctx *context) Exec(method string, path string) {
|
||||||
|
|
||||||
// backup the request path information
|
// backup the request path information
|
||||||
backupPath := ctx.Path()
|
backupPath := ctx.Path()
|
||||||
bakcupMethod := ctx.Method()
|
backupMethod := ctx.Method()
|
||||||
// don't backupValues := ctx.Values().ReadOnly()
|
// don't backupValues := ctx.Values().ReadOnly()
|
||||||
|
|
||||||
// [sessions stays]
|
// [sessions stays]
|
||||||
|
@ -3120,7 +3120,7 @@ func (ctx *context) Exec(method string, path string) {
|
||||||
// set the request back to its previous state
|
// set the request back to its previous state
|
||||||
req.RequestURI = backupPath
|
req.RequestURI = backupPath
|
||||||
req.URL.Path = 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.
|
// don't fill the values in order to be able to communicate from and to.
|
||||||
// // fill the values as they were before
|
// // fill the values as they were before
|
||||||
|
|
Loading…
Reference in New Issue
Block a user