def _create_callback_server(self):
    server_url = _urlparse.urlparse(self._redirect_uri)
    server_address = (server_url.hostname, server_url.port)
    return OAuthHTTPServer(server_address, OAuthCallbackHandler, redirect_path=server_url.path)
def _create_callback_server(self):
    server_url = _urlparse.urlparse(self._redirect_uri)
    server_address = (server_url.hostname, server_url.port)
    return OAuthHTTPServer(server_address, OAuthCallbackHandler, redirect_path=server_url.path)