'Reading body after parsing multipart that isn\'t form-data is allowed'

def test_body_after_POST_multipart_related(self):

    payload_data = '\r\n'.join(['--boundary', 'Content-ID:    id;    name="name"', '', 'value', '--boundary--'])
    payload = FakePayload(payload_data)
    request = WSGIRequest({'REQUEST_METHOD': 'POST', 'CONTENT_TYPE': 'multipart/related;    boundary=boundary', 'CONTENT_LENGTH': len(payload), 'wsgi.input': payload})
    self.assertEqual(request.POST, {})
    self.assertEqual(request.body, payload_data)
