def cbRendered(ignored):
    self.assertEqual(b''.join(request.written), b'dynamic world')
    self.assertEqual(request.responseHeaders.getRawHeaders(b'content-length')[0], b'13')
def cbRendered(ignored):
    self.assertEqual(b.join(request.written), b'dynamic world')
    self.assertEqual(request.responseHeaders.getRawHeaders(b'content-length')[0], b'13')