Skip to content

Some fixes and additional options. #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Next Next commit
Add host as option for Server
  • Loading branch information
Schamper committed Jul 20, 2016
commit e30c08244ac3aadabd22035bc28041f6bebaffbb
2 changes: 1 addition & 1 deletion browsermobproxy/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def __init__(self, path='browsermob-proxy', options=None):
" provided: %s" % path)

self.path = path
self.host = 'localhost'
self.host = options.get('host', 'localhost')
self.port = options.get('port', 8080)
self.process = None

Expand Down