  from djangorestframework.parsers import FormParser, MultiPartParser
  from djangorestframework.resources import Resource
  from djangorestframework.response import Response, ErrorResponse
  from djangorestframework.utils import as_tuple, MSIE_USER_AGENT_REGEX
  from djangorestframework.utils.mediatypes import is_form_media_type
  
  from decimal import Decimal
  import re
  from StringIO import StringIO
  
 
</s> remove from djangorestframework.utils.mediatypes import get_media_type_params, add_media_type_param
 </s> add from djangorestframework.utils.mediatypes import get_media_type_params, add_media_type_param, media_type_matches </s> remove     (key, val) = param.split('=')
 </s> add     (key, sep, val) = param.partition('=') </s> remove         Return a precedence level for the media type given how specific it is.
 </s> add         Return a precedence level from 0-3 for the media type given how specific it is.
from djangorestframework.utils.mediatypes import is_form_media_type, order_by_precedence
  from djangorestframework.parsers import FormParser, MultiPartParser
  from djangorestframework.resources import Resource
  from djangorestframework.response import Response, ErrorResponse
  from djangorestframework.utils import as_tuple, MSIE_USER_AGENT_REGEX
from djangorestframework.utils.mediatypes import is_form_media_type, order_by_precedence
  
  from decimal import Decimal
  import re
  from StringIO import StringIO
  
keep keep keep keep 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/mixins.py