'Reading from request is allowed after accessing request contents as
POST or body.'

def test_read_after_value(self):

    payload = FakePayload('name=value')
    request = WSGIRequest({'REQUEST_METHOD': 'POST', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'CONTENT_LENGTH': len(payload), 'wsgi.input': payload})
    self.assertEqual(request.POST, {'name': ['value']})
    self.assertEqual(request.body, 'name=value')
    self.assertEqual(request.read(), 'name=value')
