GapFill Flowee
This commit is contained in:
@@ -171,12 +171,28 @@ def parse_eml(raw_bytes: bytes, is_receipt: bool = False) -> ParsedEmail:
|
||||
# ─── Helper privati ───────────────────────────────────────────────────────────
|
||||
|
||||
|
||||
# Nomi file usati dall'infrastruttura PEC (non allegati utente)
|
||||
# Nomi file usati dall'infrastruttura PEC italiana (non allegati utente)
|
||||
_PEC_SYSTEM_FILENAMES = frozenset({
|
||||
# ── PEC italiana (DM 2 novembre 2005) ─────────────────────────────────────
|
||||
"daticert.xml",
|
||||
"postacert.eml",
|
||||
"smime.p7s",
|
||||
"smime.p7m",
|
||||
# ── REM europea (ETSI EN 319 532-4) ──────────────────────────────────────
|
||||
"remevidence.xml",
|
||||
"rem-evidence.xml",
|
||||
"rem_evidence.xml",
|
||||
"remreceipt.xml",
|
||||
"rem-receipt.xml",
|
||||
"remdispatch.xml",
|
||||
"rem-dispatch.xml",
|
||||
"remdelivery.xml",
|
||||
"rem-delivery.xml",
|
||||
"remdispatch.eml",
|
||||
"rem-dispatch.eml",
|
||||
"remsignature.p7s",
|
||||
"rem-signature.p7s",
|
||||
"signed-rem-dispatch.p7m",
|
||||
})
|
||||
|
||||
# Content-type usati dall'infrastruttura PEC
|
||||
|
||||
Reference in New Issue
Block a user