File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,13 @@ class RequestEncodingTests(unittest.TestCase):
99 b"""<meta http-equiv="content-type" content="text/html;charset=UTF-8" />""" ,
1010 b"""\n <meta http-equiv="Content-Type"\n content="text/html; charset=utf-8">""" ,
1111 b"""<meta http-equiv="Content-Type" content="text/html" charset="utf-8">""" ,
12+ b"""<meta http-equiv=Content-Type content="text/html" charset='utf-8'>""" ,
13+ b"""<meta http-equiv="Content-Type" content\t =\n "text/html" charset\t ="utf-8">""" ,
1214 b"""<meta content="text/html; charset=utf-8"\n http-equiv='Content-Type'>""" ,
1315 b""" bad html still supported < meta http-equiv='Content-Type'\n content="text/html; charset=utf-8">""" ,
1416 # html5 meta charset
1517 b"""<meta charset="utf-8">""" ,
18+ b"""<meta charset =\n "utf-8">""" ,
1619 # xml encoding
1720 b"""<?xml version="1.0" encoding="utf-8"?>""" ,
1821 ]
You can’t perform that action at this time.
0 commit comments