code: def _make_blocking_http_get(
      url: str, timeout: float = 5
  ) -> Optional[str]:
      import requests
  
      try:
          text = requests.get(url, timeout=timeout).text
          if isinstance(text, str):
              text = text.strip()
          return text
      except Exception:
          return None
  
file_path: streamlit/lib/streamlit/net_util.py
imports: import socket
  from typing import Optional
  from typing_extensions import Final
  from streamlit import util
  from streamlit.logger import get_logger
label_desc: Use image node_id 3 for calling a global function with example usage: _make_blocking_http_get(url, timeout) and returns: text, None