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