Exemple #1
0
 def test_decode_http_header(self):
     self.assertEqual(util.decode_http_header('hello \xf6 \xe1 world'),
                      u'hello \xf6 \xe1 world')
Exemple #2
0
 def test_decode_http_header(self):
     self.assertEqual(util.decode_http_header('hello \xf6 \xe1 world'),
                      u'hello \xf6 \xe1 world')
Exemple #3
0
 def test_decode_http_header_none(self):
     self.assertEqual(util.decode_http_header(None), u'')
Exemple #4
0
 def test_decode_http_header_none(self):
     self.assertEqual(util.decode_http_header(None), u'')