MCPcopy Create free account
hub / github.com/mpolden/echoip / HeadHandler

Method HeadHandler

http/http.go:278–282  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

276}
277
278func (s *Server) HeadHandler(w http.ResponseWriter, r *http.Request) *appError {
279 return &appError{
280 Code: http.StatusNoContent,
281 }
282}
283
284func (s *Server) PortHandler(w http.ResponseWriter, r *http.Request) *appError {
285 response, err := s.newPortResponse(r)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected