HF RL Explorer

e-mail header parsing: edge case

e-mail header parsing: edge case: a task in smol-software-harbor (Harbor dataset). Long subjects are cut in the support inbox: header lines folded onto the next line (continuation lines start with a space or a tab) are parsed as broken new fields by parse headers() in headers.py ( test folded…

The task

Long subjects are cut in the support inbox: header lines folded onto the next line (continuation lines start with a space or a tab) are parsed as broken new fields by `parse_headers()` in `headers.py` (`test_folded_subject` fails). Join them to the previous field with a single space, as the docstring says. Run…

Part of efederici/smol-software-harbor.