in azure_functions_worker/bindings/datumdef.py [0:0]
def parse_cookie_attr_expires(cookie_entity):
expires = cookie_entity['expires']
if expires is not None and len(expires) != 0:
try:
return parser.parse(expires)
except ParserError:
logging.error(
f"Can not parse value {expires} of expires in the cookie "
f"due to invalid format.")
raise
except OverflowError:
logging.error(
f"Can not parse value {expires} of expires in the cookie "
f"because the parsed date exceeds the largest valid C "
f"integer on your system.")
raise
return None