code: func readingbyValueDescriptorHandler(w http.ResponseWriter, r *http.Request) {
  	defer r.Body.Close()
  
  	vars := mux.Vars(r)
  	name, err := url.QueryUnescape(vars["name"])
  	// Problems with unescaping URL
  	if err != nil {
  		http.Error(w, err.Error(), http.StatusBadRequest)
  		LoggingClient.Error("Error unescaping value descriptor name: " + err.Error())
  		return
  	}
  	limit, err := strconv.Atoi(vars["limit"])
  	// Problems converting limit to int
  	if err != nil {
  		http.Error(w, err.Error(), http.StatusBadRequest)
  		LoggingClient.Error("Error converting the limit to an integer: " + err.Error())
  		return
  	}
  
  	read, err := getReadingsByValueDescriptor(name, limit)
  	if err != nil {
  		http.Error(w, err.Error(), http.StatusInternalServerError)
  		return
  	}
  
  	encode(read, w)
  }
docs: // Return a list of readings associated with a value descriptor, limited by limit
  // HTTP 413 (limit exceeded) if the limit is greater than max limit
  // api/v1/reading/name/{name}/{limit}