code: def epoch_to_rfc1123(epoch: float) -> str:
      """Return HTTP-date string from epoch offset."""
      yr, mn, dd, hh, mm, ss, wd, _yd, _tz = time.gmtime(epoch)
      weekday_name = _WEEKDAY_NAME[wd]
      month = _MONTH_NAME[mn]
      return f"{weekday_name}, {dd:02} {month} {yr:04} {hh:02}:{mm:02}:{ss:02} GMT"
  
imports: import time
  import warnings
  from email.utils import parsedate_tz
  from sphinx.deprecation import RemovedInSphinx90Warning
label_desc: Use image node_id 1 for calling a global function with example usage: epoch_to_rfc1123(epoch) and returns: weekday_name, str, dd, str, month, str, yr, str, hh, str, mm, str, ss, str