def test_decode_http_header(self): self.assertEqual(util.decode_http_header('hello \xf6 \xe1 world'), u'hello \xf6 \xe1 world')
def test_decode_http_header_none(self): self.assertEqual(util.decode_http_header(None), u'')