Skip to content

Commit

Permalink
Merge pull request #3 from brianz/feature/namespace-http
Browse files Browse the repository at this point in the history
Allow namespace for http transport.
  • Loading branch information
pcraciunoiu committed Nov 21, 2015
2 parents f6083c3 + 1e9e232 commit 4208037
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions servant/transport/http.py
Expand Up @@ -11,8 +11,8 @@ def __init__(self):
def __repr__(self):
return 'HttpTransport at %s' % (self.__url, )

def configure(self, host='localhost', port=8000, scheme='http'):
self.__url = '%s://%s:%s' % (scheme, host, port)
def configure(self, host='localhost', port=8000, scheme='http', namespace=''):
self.__url = '%s://%s:%s%s' % (scheme, host, port, namespace)

def is_connected(self):
return True
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -3,7 +3,7 @@
setup(
name='servant',
packages=find_packages(exclude=['test', 'examples', 'examples.*']),
version = '0.0.9',
version = '0.0.10',
description = 'A library for building services',
author='Brian Zambrano',
author_email='brianz@gmail.com',
Expand Down

0 comments on commit 4208037

Please sign in to comment.