      BaseParser, FormParser, JSONParser, MultiPartParser
  )
  from rest_framework.request import Empty, Request
  from rest_framework.response import Response
  from rest_framework.settings import api_settings
  from rest_framework.test import APIClient, APIRequestFactory
  from rest_framework.views import APIView
  
  factory = APIRequestFactory()
  
 
</s> remove from rest_framework.request import Empty, Request
 </s> add from rest_framework.request import Request </s> remove     BaseParser, FormParser, JSONParser, MultiPartParser
 </s> add     BaseParser, FormParser, MultiPartParser </s> remove from django.core.handlers.wsgi import WSGIRequest
 </s> add  </s> remove import json
from io import BytesIO

 </s> add  </s> remove         self._method = Empty
 </s> add 
      BaseParser, FormParser, JSONParser, MultiPartParser
  )
  from rest_framework.request import Empty, Request
  from rest_framework.response import Response

  from rest_framework.test import APIClient, APIRequestFactory
  from rest_framework.views import APIView
  
  factory = APIRequestFactory()
  
keep keep keep keep replace keep keep keep keep keep
 Fix request cloning, so method becomes set 
tests/test_request.py