Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Merge pull request #26 from graylikeme/master

Add support for HTTPS protocol
  • Loading branch information...
2 parents 3c38cb1 + e960b2d commit b6e778b23024475f573ba209f04a35272a236ec1 @nailor nailor committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 trombi/
4 trombi/
@@ -64,9 +64,9 @@ def from_uri(uri, fetch_args=None, io_loop=None, **kwargs):
if p.params or p.query or p.fragment:
raise ValueError(
'Invalid database address: %s (extra query params)' % uri)
- if p.scheme != 'http':
+ if not p.scheme in ('http', 'https'):
raise ValueError(
- 'Invalid database address: %s (only http:// is supported)' % uri)
+ 'Invalid database address: %s (only http:// and https:// are supported)' % uri)
baseurl = urlunsplit((p.scheme, p.netloc, '', '', ''))
server = Server(baseurl, fetch_args, io_loop=io_loop, **kwargs)

0 comments on commit b6e778b

Please sign in to comment.
Something went wrong with that request. Please try again.