class_docstr: Implements the POST /upload_file endpoint.
class_docstr_tok: ["Implements","the","POST","\/upload_file","endpoint","."]
docstr: Delete file request handler.
docstr_tok: ["Delete","file","request","handler","."]
code: def delete(self, **kwargs):
      """Delete file request handler."""
      session_id = self.path_kwargs["session_id"]
      file_id = self.path_kwargs["file_id"]
  
      self._file_mgr.remove_file(session_id=session_id, file_id=file_id)
      self.set_status(204)
  
file_path: streamlit/lib/streamlit/web/server/upload_file_request_handler.py
imports: from typing import Any, Callable, Dict, List
  import tornado.httputil
  import tornado.web
  from streamlit import config
  from streamlit.logger import get_logger
  from streamlit.runtime.memory_uploaded_file_manager import MemoryUploadedFileManager
  from streamlit.runtime.uploaded_file_manager import UploadedFileManager, UploadedFileRec
  from streamlit.web.server import routes, server_util
label_desc: Use image node_id 5 for calling the UploadFileRequestHandler obj's underlying member method code with example usage: obj.delete() without return types