def test_standard_behaviour_determines_non_form_content_PUT(self):
        content = six.b('qwerty')
        content_type = 'text/plain'
        request = Request(factory.put('/', content, content_type=content_type))
        request.parsers = (PlainTextParser(), )
        self.assertEqual(request.data, content)
Ensure request.data returns content for PUT request with
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_request.py/TestContentParsing.test_standard_behaviour_determines_non_form_content_PUT