]> git.notmuchmail.org Git - notmuch/blobdiff - test/test-lib.sh
test: Add test for searching of uncommonly encoded messages
[notmuch] / test / test-lib.sh
index 063a2b273049c18a9ba95cbede3348063a174d3b..278150677c4a92e8df4a723be693fae108213576 100644 (file)
@@ -356,6 +356,11 @@ ${additional_headers}"
 ${additional_headers}"
     fi
 
+    if [ ! -z "${template[content-transfer-encoding]}" ]; then
+       additional_headers="Content-Transfer-Encoding: ${template[content-transfer-encoding]}
+${additional_headers}"
+    fi
+
     # Note that in the way we're setting it above and using it below,
     # `additional_headers' will also serve as the header / body separator
     # (empty line in between).