From 455750325680eeeaf01f43d6bc8cbadf5ebf4a08 Mon Sep 17 00:00:00 2001 From: no Date: Thu, 7 Jan 2016 09:31:11 -0500 Subject: [PATCH] for plaintext posts add content-type header --- contrib/tools/archive/nntparchive/archiver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/tools/archive/nntparchive/archiver.py b/contrib/tools/archive/nntparchive/archiver.py index 9bbb9a5..b5dbdb5 100755 --- a/contrib/tools/archive/nntparchive/archiver.py +++ b/contrib/tools/archive/nntparchive/archiver.py @@ -66,6 +66,8 @@ class Article: if 'filename' in self.j: hdr += 'Mime-Version: 1.0\n' hdr += 'Content-Type: multipart/mixed; boundary="{}"\n'.format(self.boundary) + else: + hdr += 'Content-Type: text/plain; encoding="UTF-8"\n' return hdr def bodyPlain(self):