fix: add X-WS-* header detection and attachment test

- Detect X-WS-* headers (e.g., X-WS-Attachment-UUID) as MIME headers
  to ensure attachment headers like Content-Type and Content-Disposition
  get normalized properly
- Add test case for attachment header normalization
- Bump version to 0.5.0

The normalization fixes malformed continuation lines in attachment
headers generated by Infomaniak webmail, where lines like
"name=file.pdf" are missing the required leading whitespace.
This commit is contained in:
2025-12-10 15:22:35 +01:00
parent d1dd56341f
commit e0b0c5e964
3 changed files with 25 additions and 3 deletions
Generated
+1 -1
View File
@@ -597,7 +597,7 @@ dependencies = [
[[package]]
name = "rs_pop_imap_importer"
version = "0.3.0"
version = "0.5.0"
dependencies = [
"clap",
"dotenvy",