HomeSoftware Heritage

Add support for recursive multipart messages

Description

Add support for recursive multipart messages

Before this commit, parsing the test file would just return
and more plain text because it is the largest text part.

This uses message.get_payload() instead of message.walk(), because
message.walk() implements a bottom-up DFS; but with no easy way of
propagating information between nodes.

Details

Provenance
vlorentzAuthored on Apr 7 2022, 11:40 AM
vlorentzPushed on Apr 13 2022, 1:55 PM
Differential Revision
D7518: Add support for recursive multipart messages
Parents
rDWAPPSae8b3148611b: Add support for multipart/mixed + better fallback for multipart/*
Branches
Unknown
Tags
Unknown
Build Status
Buildable 28427
Build 44441: test-and-buildJenkins console · Jenkins