Skip to content

Commit

Permalink
Allow namespace for http transport.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcraciunoiu committed Oct 8, 2015
1 parent f6083c3 commit 1e9e232
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 1e9e232

Please sign in to comment.