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

def test_read_after_value(self):

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