                  return (self._request.POST, self._request.FILES)
              stream = None
  
          if stream is None or media_type is None:
              if media_type and not is_form_media_type(media_type):
                  empty_data = QueryDict('', encoding=self._request._encoding)
              else:
                  empty_data = {}
              empty_files = MultiValueDict()
              return (empty_data, empty_files)
 
</s> remove         assert request.content_type == 'application/json'
 </s> add         assert request.META['CONTENT_TYPE'] == 'application/json'
            if media_type and is_form_media_type(media_type):
                  return (self._request.POST, self._request.FILES)
              stream = None
  
          if stream is None or media_type is None:
            if media_type and is_form_media_type(media_type):
                  empty_data = QueryDict('', encoding=self._request._encoding)
              else:
                  empty_data = {}
              empty_files = MultiValueDict()
              return (empty_data, empty_files)
keep keep keep keep replace keep keep keep keep keep
 Force content_type inclusion in APIRequestFactory 
rest_framework/request.py