docstr: Files with extensions listed in app_static_file_handler.py
  `SAFE_APP_STATIC_FILE_EXTENSIONS` (e.g. webp) should have the
  `Content-Type` header based on their extension.
docstr_tok: ["Files","with","extensions","listed","in","app_static_file_handler.py","`","SAFE_APP_STATIC_FILE_EXTENSIONS","`","(","e.g",".","webp",")","should","have","the","`","Content-Type","`","header","based","on","their","extension","."]
code: def test_static_webp_image_200(self):
      """Files with extensions listed in app_static_file_handler.py
      `SAFE_APP_STATIC_FILE_EXTENSIONS` (e.g. webp) should have the
      `Content-Type` header based on their extension.
      """
      response = self.fetch(f"/app/static/{self._webp_image_filename}")
  
      assert response.code == 200
      assert response.headers["Content-Type"] == "image/webp"
      assert response.headers["X-Content-Type-Options"] == "nosniff"
  
file_path: streamlit/lib/tests/streamlit/web/server/app_static_file_handler_test.py
imports: import os
  import tempfile
  from unittest.mock import MagicMock, patch
  import tornado.httpserver
  import tornado.testing
  import tornado.web
  import tornado.websocket
  from streamlit.web.server.app_static_file_handler import MAX_APP_STATIC_FILE_SIZE, AppStaticFileHandler
label_desc: Use image node_id 6 for calling the AppStaticFileHandlerTest obj's underlying member method code with example usage: obj.test_static_webp_image_200() without return types