Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: remoting/tools/hostdir.py

Issue 3252006: Updated chromoting directory URL to use www.googleapis.com, switched to https.. (Closed)
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/extension/client.js ('k') | remoting/tools/register_host.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/tools/hostdir.py
diff --git a/remoting/tools/hostdir.py b/remoting/tools/hostdir.py
index d4905f4897777438e3d8899e274ba9f3482f277c..d8ef5cde52fd465b647b442f3644686606dbe2cd 100755
--- a/remoting/tools/hostdir.py
+++ b/remoting/tools/hostdir.py
@@ -16,7 +16,7 @@ import urllib2
import random
import sys
-DEFAULT_DIRECTORY_SERVER = 'www-googleapis-test.sandbox.google.com'
+DEFAULT_DIRECTORY_SERVER = 'www.googleapis.com'
auth_filepath = os.path.join(os.path.expanduser('~'),
'.chromotingDirectoryAuthToken')
@@ -58,7 +58,7 @@ class HostDirectory:
self._auth_token = auth_token
self._base_url = '/chromoting/v1/@me/hosts'
- self._http = httplib.HTTPConnection(server)
+ self._http = httplib.HTTPSConnection(server)
self._headers = {"Authorization": "GoogleLogin auth=" + self._auth_token,
"Content-Type": "application/json" }
« no previous file with comments | « remoting/client/extension/client.js ('k') | remoting/tools/register_host.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698