Selects the appropriated parser which matches to the request's content type.
        :param request: The HTTP request.
        :param parsers: The lists of parsers.
        :return: The parser selected or none.

def select_parser(self, request, parsers):
        """
        Selects the appropriated parser which matches to the request's content type.
        :param request: The HTTP request.
        :param parsers: The lists of parsers.
        :return: The parser selected or none.
        """

        if not request.content_type:
            return parsers[0], parsers[0].mimetype

        mimetype = MimeType.parse(request.content_type)

        for parser in parsers:
            if mimetype.match(parser.mimetype):
                return parser, mimetype

        return None, None