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