code: def download(self, request, **kwargs):
          
  
          # method check to avoid bad requests
          self.method_check(request, allowed=['get'])
  
          # create a basic bundle object for self.get_cached_obj_get.
          basic_bundle = self.build_bundle(request=request)
  
          # using the primary key defined in the url, obtain the tileset
          tileset = self.cached_obj_get(
              bundle=basic_bundle,
              **self.remove_api_resource_names(kwargs))
  
          filename = helpers.get_tileset_filename(tileset)
          filename = os.path.abspath(filename)
          if os.path.isfile(filename):
              response = serve(request, os.path.basename(filename), os.path.dirname(filename))
              response['Content-Disposition'] = 'attachment; filename="{}"'.format(os.path.basename(filename))
          else:
              response = self.create_response(request, {'status': 'not generated'})
          return response
docs: proxy for the helpers.tileset_download method