docs: def get_params(names):
      """Return a dictionary with params from request.
  
      TODO: I think we don't use it anymore and it should be removed
      before someone gets hurt.
      """
      params = {}
      for name in names:
          value = request.form.get(name) or request.files.get(name)
          if value is not None:
              params[name] = value
      return params