Skip to content

Commit

Permalink
[fix] Parse Form when creating a new Context.
Browse files Browse the repository at this point in the history
  • Loading branch information
dinever committed Apr 29, 2016
1 parent c42ac77 commit 627fc32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions context.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ type Context struct {
func NewContext(req *http.Request, res http.ResponseWriter, app *Application) *Context {
ctx := new(Context)
ctx.Request = req
ctx.Request.ParseForm()
ctx.Response = res
ctx.App = app
ctx.statusCode = 200
Expand Down

0 comments on commit 627fc32

Please # to comment.