'Tests a POST body across multiple messages (first part in \'body\').'

def test_post_multiple(self):

    Channel(u'test').send({u'reply_channel': u'test', u'http_version': u'1.1', u'method': u'POST', u'path': u'/test/', u'body': 'there_a', u'body_channel': u'test-input', u'headers': {u'host': 'example.com', u'content-type': 'application/x-www-form-urlencoded', u'content-length': '21'}}, immediately=True)
    Channel(u'test-input').send({u'content': 're=fou', u'more_content': True}, immediately=True)
    Channel(u'test-input').send({u'content': 'r+lights'}, immediately=True)
    request = AsgiRequest(self.get_next_message(u'test'))
    self.assertEqual(request.method, u'POST')
    self.assertEqual(request.body, 'there_are=four+lights')
    self.assertEqual(request.META[u'CONTENT_TYPE'], u'application/x-www-form-urlencoded')
    self.assertEqual(request.POST[u'there_are'], u'four    lights')
