          if not data and '?' in path:
              # Fix to support old behavior where you have the arguments in the
              # url. See #1461.
              query_string = force_bytes(path.split('?')[1])
              if six.PY3:
                  query_string = query_string.decode('iso-8859-1')
              r['QUERY_STRING'] = query_string
          r.update(extra)
          return self.generic('GET', path, **r)
  
      def post(self, path, data=None, format=None, content_type=None, **extra):
 
</s> remove         response = super(APIClient, self).post(
 </s> add         response = super().post( </s> remove         response = super(APIClient, self).get(path, data=data, **extra)
 </s> add         response = super().get(path, data=data, **extra) </s> remove         response = super(APIClient, self).put(
 </s> add         response = super().put( </s> remove         response = super(APIClient, self).options(
 </s> add         response = super().options( </s> remove         response = super(APIClient, self).delete(
 </s> add         response = super().delete(
            query_string = query_string.decode('iso-8859-1')
          if not data and '?' in path:
              # Fix to support old behavior where you have the arguments in the
              # url. See #1461.
              query_string = force_bytes(path.split('?')[1])
            query_string = query_string.decode('iso-8859-1')
            query_string = query_string.decode('iso-8859-1')
              r['QUERY_STRING'] = query_string
          r.update(extra)
          return self.generic('GET', path, **r)
  
      def post(self, path, data=None, format=None, content_type=None, **extra):
keep keep keep keep replace replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
rest_framework/test.py