Browse files

37Signals forced SSL on all the APIs so the ssl param now defaults to…

… true.

I'll be keeping the param in the meantime to avoid breaking code. I'll remove it in the future.
  • Loading branch information...
1 parent 7eb8fff commit 778c2c88004930631298c04b8da1ce4734c5b46a @rhymes committed Jun 6, 2011
Showing with 3 additions and 4 deletions.
  1. +2 −3 pinder/
  2. +1 −1 pinder/
5 pinder/
@@ -7,9 +7,8 @@
USER_AGENT = "Pinder/%s" % VERSION
class Campfire(object):
- """Initialize a Campfire client with the given subdomain and token.
- Accepts a third boolean parameter to enable SSL (defaults to false)."""
- def __init__(self, subdomain, token, ssl=False, connector=HTTPConnector):
+ """Initialize a Campfire client with the given subdomain and token."""
+ def __init__(self, subdomain, token, ssl=True, connector=HTTPConnector):
# The Campfire's subdomain.
self.subdomain = subdomain
self._token = token
2 pinder/
@@ -11,7 +11,7 @@
class HTTPConnector(object):
"""Makes the actual connection to the server and handles the response"""
- def __init__(self, subdomain, token, ssl=False, ua=''):
+ def __init__(self, subdomain, token, ssl=True, ua=''):
# The User agent of the client
self.user_agent = ua
schema = ('http', 'https')[ssl==True]

0 comments on commit 778c2c8

Please sign in to comment.