Read header encoding tests as binary

This commit is contained in:
Stuart D. Gathman committed 2019-08-27 19:24:06 -04:00
1 parent a01f598e37
commit 18186a3c11
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -270,6 +270,7 @@ class TestCtx(object):
if rc != Milter.CONTINUE: return rc
# header
for h,val in msg.items():
# val is a Header object for invalid header values
rc = self._header(h,val)
if rc != Milter.CONTINUE: return rc
# eoh