func LimitBody(w http.ResponseWriter, r *http.Request, n int64) {
	// get original body from existing limiter
	if bl, ok := r.Body.(*BodyLimiter); ok {
		r.Body = bl.Original
	}

	// set new limiter
	r.Body = NewBodyLimiter(w, r, n)
}
func LimitBody(w http.ResponseWriter, r *http.Request, n int64) {
	// get original body from existing limiter
	if bl, ok := r.Body.(*BodyLimiter); ok {
		r.Body = bl.Original
	}

	// set new limiter
	r.Body = NewBodyLimiter(w, r, n)
}
// LimitBody will limit reading from the body of the supplied request to the
// specified amount of bytes. Earlier calls to LimitBody will be overwritten
// which essentially allows callers to increase the limit from a default limit.