MCPcopy Create free account
hub / github.com/a-h/rest / Head

Method Head

api.go:219–221  ·  view source on GitHub ↗

Head defines a HEAD request route for the given pattern.

(pattern string)

Source from the content-addressed store, hash-verified

217
218// Head defines a HEAD request route for the given pattern.
219func (api *API) Head(pattern string) (r *Route) {
220 return api.Route(http.MethodHead, pattern)
221}
222
223// Post defines a POST request route for the given pattern.
224func (api *API) Post(pattern string) (r *Route) {

Callers 1

TestSchemaFunction · 0.95

Calls 1

RouteMethod · 0.95

Tested by 1

TestSchemaFunction · 0.76