Browse Source

Added ParseForm to handler

master
Gisle Aune 7 years ago
parent
commit
411a95685e
  1. 1
      router.go

1
router.go

@ -28,6 +28,7 @@ func (router *Router) Route(path string, route Route) {
}
func (router *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {
req.ParseForm()
defer req.Body.Close()
// Allow REST for clients of yore

Loading…
Cancel
Save