Switch to HTTPS API URL

This alphabet soup closes #5.
This commit is contained in:
dgw committed 2016-04-29 07:00:55 -05:00
1 parent 40f63d7ff8
commit 55c362187b
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ class Client(object):
input=query,
appid=self.app_id,
))
url = 'http://api.wolframalpha.com/v2/query?' + query
url = 'https://api.wolframalpha.com/v2/query?' + query
resp = urllib.request.urlopen(url)
assert resp.headers.get_content_type() == 'text/xml'
assert resp.headers.get_param('charset') == 'utf-8'