lxd/util/http.go
func IsRecursionRequest(r *http.Request) bool {
	recursionStr := r.FormValue("recursion")

	recursion, err := strconv.Atoi(recursionStr)
	if err != nil {
		return false
	}

	return recursion != 0
}
func IsRecursionRequest(r *http.Request) bool {
	recursionStr := r.FormValue("recursion")

	recursion, err := strconv.Atoi(recursionStr)
	if err != nil {
		return false
	}

	return recursion != 0
}
func IsRecursionRequest ( r * http . Request ) bool { recursionStr := r . FormValue ( " " ) recursion , err := strconv . Atoi ( recursionStr ) if err != nil { return false } return recursion != 0 }
// IsRecursionRequest checks whether the given HTTP request is marked with the
// "recursion" flag in its form values.
IsRecursionRequest checks whether the given HTTP request is marked with the recursion flag in its form values .