// MethodNotAllowed handles cases when request's method is not supported for
// the requested endpoint.
MethodNotAllowed handles cases when request's method is not supported for
the requested endpoint.
// MethodNotAllowed handles cases when request ' s method is not supported for // the requested endpoint .
func MethodNotAllowed(log zerolog.Logger) http.HandlerFunc {
	return func(w http.ResponseWriter, r *http.Request) {
		RespondError(log, w, r, ErrMethodNotAllowed)
	}
}
func MethodNotAllowed ( log zerolog . Logger ) http . HandlerFunc { return func ( w http . ResponseWriter , r * http . Request ) { RespondError ( log , w , r , ErrMethodNotAllowed ) } }
MethodNotAllowed handles cases when request's method is not supported for
the requested endpoint.
MethodNotAllowed handles cases when request ' s method is not supported for the requested endpoint .