Performs the desired Conversion.

        :param request: The webob Request object describing the
                        request.
        :param response: The webob Response object describing the
                         response.
        :param data: The data dictionary returned by the prepare()
                     method.

        :returns: A string, the results of which are the desired
                  conversion.

def convert(self, request, response, data):
        """
        Performs the desired Conversion.

        :param request: The webob Request object describing the
                        request.
        :param response: The webob Response object describing the
                         response.
        :param data: The data dictionary returned by the prepare()
                     method.

        :returns: A string, the results of which are the desired
                  conversion.
        """

        # Chop up the URL
        uri = urlparse.urlparse(request.url)

        # If there's a password, recompute the URI without it
        if uri.password:
            netloc = "%s:%s@" % (uri.username or "", "XXXXXXXX")
            if uri.hostname:
                netloc += uri.hostname
            if uri.port is not None:
                netloc += ":%d" % uri.port

            uri = urlparse.ParseResult(uri[0], netloc, uri[2], uri[3],
                                       uri[4], uri[5])

        return self.escape("%s %s %s" % (request.method, uri.geturl(),
                                         request.environ['SERVER_PROTOCOL']))