  
  class PlainTextParser(BaseParser):
      media_type = 'text/plain'
  
      def parse_stream(self, stream, parser_context=None):
          """
          Returns a 2-tuple of `(data, files)`.
  
          `data` will simply be a string representing the body of the request.
          `files` will always be `None`.
 
</s> remove     def parse_stream(self, stream, parser_context=None):
 </s> add     def parse(self, stream, parser_context=None): </s> remove     def parse_stream(self, stream, parser_context=None):
 </s> add     def parse(self, stream, parser_context=None): </s> remove     def parse_stream(self, stream, parser_context=None):
 </s> add     def parse(self, stream, parser_context=None): </s> remove     def parse_stream(self, stream, parser_context=None):
 </s> add     def parse(self, stream, parser_context=None): </s> remove     def parse(self, string_or_stream, parser_context=None):
        """
        The main entry point to parsers.  This is a light wrapper around
        `parse_stream`, that instead handles both string and stream objects.
        """
        if isinstance(string_or_stream, basestring):
            stream = BytesIO(string_or_stream)
        else:
            stream = string_or_stream
        return self.parse_stream(stream, parser_context)

    def parse_stream(self, stream, parser_context=None):
 </s> add     def parse(self, stream, parser_context=None):
    def parse(self, stream, parser_context=None):
  
  class PlainTextParser(BaseParser):
      media_type = 'text/plain'
  
    def parse(self, stream, parser_context=None):
          """
          Returns a 2-tuple of `(data, files)`.
  
          `data` will simply be a string representing the body of the request.
          `files` will always be `None`.
keep keep keep keep replace keep keep keep keep keep
 Drop .parse_string_or_stream() - keep API minimal. 
rest_framework/tests/request.py