Skip to content

Commit 592da51

Browse files
authored
Include two examples from RFC 850
1 parent 5cf347d commit 592da51

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Lib/test/test_http_cookies.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ def test_basic(self):
6262
def test_obsolete_rfc850_date_format(self):
6363
# Test cases with different days and dates in obsolete RFC 850 format
6464
test_cases = [
65+
{
66+
'data': 'key=value; expires=Saturday, 01-Jan-83 00:00:00 EST',
67+
'output': 'Saturday, 01-Jan-83 00:00:00 EST'
68+
},
69+
{
70+
'data': 'key=value; expires=Friday, 19-Nov-82 16:59:30 EST',
71+
'output': 'Friday, 19-Nov-82 16:59:30 EST'
72+
},
6573
{
6674
'data': 'key=value; expires=Sunday, 06-Nov-94 08:49:37 GMT',
6775
'output': 'Sunday, 06-Nov-94 08:49:37 GMT'

0 commit comments

Comments
 (0)