X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=test%2Ftest-lib.sh;h=278150677c4a92e8df4a723be693fae108213576;hb=7e1742a82c4b52f5337d8db53347d547a4ac67b4;hp=063a2b273049c18a9ba95cbede3348063a174d3b;hpb=e3fb62f59b7cf93c818f382a62c37eea2d1b4f74;p=notmuch diff --git a/test/test-lib.sh b/test/test-lib.sh index 063a2b27..27815067 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -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).