'Compression is performed on responses with streaming Unicode content.'

def test_compress_streaming_response_unicode(self):

    r = GZipMiddleware().process_response(self.req, self.stream_resp_unicode)
    self.assertEqual(self.decompress(''.join(r)), ''.join((x.encode() for x in self.sequence_unicode)))
    self.assertEqual(r.get('Content-Encoding'), 'gzip')
    self.assertFalse(r.has_header('Content-Length'))
