Browse Source

web: support HTTP HEAD requests (#2857)

pull/4940/merge
Unknwon 7 years ago
parent
commit
4a669f5478
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 2
      cmd/web.go

2
cmd/web.go

@ -172,6 +172,8 @@ func runWeb(c *cli.Context) error {
bindIgnErr := binding.BindIgnErr
m.SetAutoHead(true)
// FIXME: not all routes need go through same middlewares.
// Especially some AJAX requests, we can reduce middleware number to improve performance.
// Routers.

Loading…
Cancel
Save