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