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