code: def parse_http_date(date: str) -> int:
      
      try:
          return int(
              datetime.strptime(
                  date,
                  ISO_DATE_FORMAT,
              ).timestamp(),
          )
      except ValueError:
          return 0
docs: 解析http时间到 timestamp