diff options
author | Max Romanov <max.romanov@nginx.com> | 2018-08-06 19:16:45 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2018-08-06 19:16:45 +0300 |
commit | b021188e95380c77248d38be4aa74c1877e51683 (patch) | |
tree | 271639bd35565abb5baac2811bd5c1a98b097221 /test/test_http_header.py | |
parent | 1bb22d1e922c87d3c86c67bdce626767ee48fb5c (diff) | |
download | unit-b021188e95380c77248d38be4aa74c1877e51683.tar.gz unit-b021188e95380c77248d38be4aa74c1877e51683.tar.bz2 |
Python: decoding unicode strings as Latin1.
According to PEP 3333, header names and values should be decoded as Latin1.
Diffstat (limited to 'test/test_http_header.py')
-rw-r--r-- | test/test_http_header.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/test_http_header.py b/test/test_http_header.py index b787b382..aadb6092 100644 --- a/test/test_http_header.py +++ b/test/test_http_header.py @@ -83,7 +83,6 @@ class TestUnitHTTPHeader(unit.TestUnitApplicationPython): self.assertEqual(resp['headers']['Custom-Header'], '(),/:;<=>?@[\]{}\t !#$%&\'*+-.^_`|~', 'value chars custom header') - @unittest.expectedFailure def test_http_header_value_chars_edge(self): self.load('custom_header') |