          self.full_type, self.params = parse_header(media_type_str)
          self.main_type, sep, self.sub_type = self.full_type.partition('/')
  
      def match(self, other):
          """Return true if this MediaType satisfies the constraint of the given MediaType."""
          for key in other.params.keys():
              if key != 'q' and other.params[key] != self.params.get(key, None):
                  return False
  
          if other.sub_type != '*' and other.sub_type != self.sub_type:
              return False
  
 
</s> remove         if other.sub_type != '*' and other.sub_type != self.sub_type:
 </s> add         if self.sub_type != '*' and other.sub_type != '*'  and other.sub_type != self.sub_type: </s> remove         if other.main_type != '*' and other.main_type != self.main_type:
 </s> add         if self.main_type != '*' and other.main_type != '*' and other.main_type != self.main_type: </s> remove             return 1
 </s> add             return 0 </s> remove     the :attr:`media_type` and `:attr:template` attributes.
 </s> add     the :attr:`media_type` and :attr:`template` attributes.
        """Return true if this MediaType satisfies the given MediaType."""
        for key in self.params.keys():
            if key != 'q' and other.params.get(key, None) != self.params.get(key, None):
          self.full_type, self.params = parse_header(media_type_str)
          self.main_type, sep, self.sub_type = self.full_type.partition('/')
  
      def match(self, other):
        """Return true if this MediaType satisfies the given MediaType."""
        for key in self.params.keys():
            if key != 'q' and other.params.get(key, None) != self.params.get(key, None):
        """Return true if this MediaType satisfies the given MediaType."""
        for key in self.params.keys():
            if key != 'q' and other.params.get(key, None) != self.params.get(key, None):
        """Return true if this MediaType satisfies the given MediaType."""
        for key in self.params.keys():
            if key != 'q' and other.params.get(key, None) != self.params.get(key, None):
                  return False
  
          if other.sub_type != '*' and other.sub_type != self.sub_type:
              return False
  
keep keep keep keep replace replace replace keep keep keep keep keep
 Renderers can now cope with parameterised args.  ResponseMixin gets cleaned up & added Renderer.can_handle_response(), mirroring Parsers.can_handle_request() 
djangorestframework/utils/mediatypes.py