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

def test_read_after_value(self):

    request = WSGIRequest({'REQUEST_METHOD': 'POST', 'wsgi.input': StringIO('name=value')})
    self.assertEqual(request.POST, {u'name': [u'value']})
    self.assertEqual(request.raw_post_data, 'name=value')
    self.assertEqual(request.read(), 'name=value')
