code: def set_extra_headers(self, path: str) -> None:
      if Path(path).suffix not in SAFE_APP_STATIC_FILE_EXTENSIONS:
          self.set_header("Content-Type", "text/plain")
      self.set_header("X-Content-Type-Options", "nosniff")
  
file_path: streamlit/lib/streamlit/web/server/app_static_file_handler.py
imports: import mimetypes
  import os
  from pathlib import Path
  from typing import Optional
  import tornado.web
  from streamlit.logger import get_logger
label_desc: Use image node_id 4 for calling the AppStaticFileHandler obj's underlying member method code with example usage: obj.set_extra_headers(path) without return types