Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1969817

Browse files
committed
Another test of long headers.
1 parent 9546e79 commit 1969817

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lib/test/data/msg_27.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Return-Path: <[email protected]>
2+
Received: by mail.dom.ain (Postfix, from userid 889)
3+
id B9D0AD35DB; Tue, 4 Jun 2002 21:46:59 -0400 (EDT)
4+
Message-ID: <[email protected]>
5+
Date: Tue, 4 Jun 2002 21:46:59 -0400
6+
MIME-Version: 1.0
7+
Content-Type: text/plain; charset=us-ascii
8+
Content-Transfer-Encoding: 7bit
9+
Subject: bug demonstration
10+
12345678911234567892123456789312345678941234567895123456789612345678971234567898112345678911234567892123456789112345678911234567892123456789
11+
more text
12+
From: [email protected] (Anne P. Erson)
13+
To: [email protected] (Barney P. Erson)
14+
15+
test

Lib/test/test_email.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,6 +1143,10 @@ def test_MIME_digest(self):
11431143
msg, text = self._msgobj('msg_02.txt')
11441144
self._idempotent(msg, text)
11451145

1146+
def test_long_header(self):
1147+
msg, text = self._msgobj('msg_27.txt')
1148+
self._idempotent(msg, text)
1149+
11461150
## def test_MIME_digest_with_part_headers(self):
11471151
## msg, text = self._msgobj('msg_28.txt')
11481152
## self._idempotent(msg, text)

0 commit comments

Comments
 (0)