def _AddHostToContinueURL(self, continue_url, request_id):
    (protocol, host, path, parameters, query, fragment) = urlparse.urlparse(continue_url)

    if host and protocol:
      return continue_url

    protocol, host, _, _, _, _ = urlparse.urlparse(
        self.request_data.get_request_url(request_id))


    if path == '':
      path = '/'

    return urlparse.urlunparse(
      (protocol, host, path, parameters, query, fragment))
The thread's main activity.  Call start() instead.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/api/user_service_stub.py/UserServiceStub._AddHostToContinueURL--crossover with--dataset/ETHPy150Open ipython/ipython-py3k/IPython/zmq/kernelmanager.py/StdInSocketChannel.run