Permalink
Browse files

Updated to use HTTPS by default. Fixes #1.

  • Loading branch information...
1 parent f66b3e5 commit 19d0a9d4aac6deda4bf6fa4d056f63795847b07c @paddyforan paddyforan committed Mar 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 iron_mq.py
View
@@ -44,7 +44,7 @@ class IronMQ:
USER_AGENT = "IronMQ Python v0.3"
def __init__(self, token=None, project_id=None, host=DEFAULT_HOST, port=80,
- version=1, protocol='http', config=None, app_engine=False):
+ version=1, protocol='https', config=None, app_engine=False):
"""Prepare a configured instance of the API wrapper and return it.
Keyword arguments:
@@ -54,7 +54,7 @@ def __init__(self, token=None, project_id=None, host=DEFAULT_HOST, port=80,
Defaults to mq-aws-us-east-1.iron.io.
port -- The port of the API server. Defaults to 80.
version -- The API version to use. Defaults to 1.
- protocol -- The protocol to use. Defaults to http.
+ protocol -- The protocol to use. Defaults to https.
config -- The config file to draw config values from. Defaults to None.
app_engine -- Whether to run in App Engine compatibility mode.
Defaults to False.

0 comments on commit 19d0a9d

Please sign in to comment.