MCPcopy Create free account
hub / github.com/devfeel/dotweb / HEAD

Method HEAD

group.go:91–93  ·  view source on GitHub ↗

HEAD implements `Router#HEAD()` for sub-routes within the Group.

(path string, h HttpHandle)

Source from the content-addressed store, hash-verified

89
90// HEAD implements `Router#HEAD()` for sub-routes within the Group.
91func (g *xGroup) HEAD(path string, h HttpHandle) RouterNode {
92 return g.add(RouteMethod_HEAD, path, h)
93}
94
95// OPTIONS implements `Router#OPTIONS()` for sub-routes within the Group.
96func (g *xGroup) OPTIONS(path string, h HttpHandle) RouterNode {

Callers

nothing calls this directly

Calls 1

addMethod · 0.95

Tested by

no test coverage detected