Show More
@@ -148,7 +148,7 b' def _streaming_remote_call(url, payload,' | |||
|
148 | 148 | |
|
149 | 149 | class ServiceConnection(object): |
|
150 | 150 | def __init__(self, server_and_port, backend_endpoint, session_factory): |
|
151 |
self.url = urllib.parse.urljoin('http:// |
|
|
151 | self.url = urllib.parse.urljoin(f'http://{server_and_port}', backend_endpoint) | |
|
152 | 152 | self._session_factory = session_factory |
|
153 | 153 | |
|
154 | 154 | def __getattr__(self, name): |
@@ -170,8 +170,8 b' class ServiceConnection(object):' | |||
|
170 | 170 | class RemoteVCSMaker(object): |
|
171 | 171 | |
|
172 | 172 | def __init__(self, server_and_port, backend_endpoint, backend_type, session_factory): |
|
173 |
self.url = urllib.parse.urljoin('http:// |
|
|
174 |
self.stream_url = urllib.parse.urljoin('http:// |
|
|
173 | self.url = urllib.parse.urljoin(f'http://{server_and_port}', backend_endpoint) | |
|
174 | self.stream_url = urllib.parse.urljoin(f'http://{server_and_port}', backend_endpoint+'/stream') | |
|
175 | 175 | |
|
176 | 176 | self._session_factory = session_factory |
|
177 | 177 | self.backend_type = backend_type |
General Comments 0
You need to be logged in to leave comments.
Login now