code: func GetReload(r *http.Request, def int) int {
  	sReload := r.FormValue("reload")
  	if sReload == "" {
  		return def
  	}
  	refresh, err := strconv.Atoi(sReload)
  	if err != nil || refresh < 0 {
  		return def
  	}
  	return refresh
  }
docs: // GetReload extracts the "reload" http param from the request,
  // or returns def implying no limit was specified.