HEAD is a shortcut for router.Handle(http.MethodHead, path, handle)
(path string, handle Handle)
| 205 | |
| 206 | // HEAD is a shortcut for router.Handle(http.MethodHead, path, handle) |
| 207 | func (r *Router) HEAD(path string, handle Handle) { |
| 208 | r.Handle(http.MethodHead, path, handle) |
| 209 | } |
| 210 | |
| 211 | // OPTIONS is a shortcut for router.Handle(http.MethodOptions, path, handle) |
| 212 | func (r *Router) OPTIONS(path string, handle Handle) { |