X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=test%2Ftest-lib.sh;h=278150677c4a92e8df4a723be693fae108213576;hp=063a2b273049c18a9ba95cbede3348063a174d3b;hb=74f8f15adc1e6fce2d3fcc34b7e9ef0b65d926db;hpb=13235d35356dd065855d4db4d44da274808407a1 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).