'POST should be populated even if body is read first, and then
the stream is read second. Using multipart/form-data instead of urlencoded.'

def test_POST_after_body_read_and_stream_read_multipart(self):

    payload = FakePayload(u'\r\n'.join([u'--boundary', u'Content-Disposition:    form-data;    name="name"', u'', u'value', u'--boundary--']))
    request = WSGIRequest({u'REQUEST_METHOD': u'POST', u'CONTENT_TYPE': u'multipart/form-data;    boundary=boundary', u'CONTENT_LENGTH': len(payload), u'wsgi.input': payload})
    raw_data = request.body
    self.assertEqual(request.read(13), '--boundary\r\nC')
    self.assertEqual(request.POST, {u'name': [u'value']})
