AutomatedTester / browsermob-proxy-py

A python wrapper for Browsermob Proxy
http://oss.theautomatedtester.co.uk/browsermob-proxy-py
236 stars 104 forks source link

Change remap_hosts to accept dictionary #39

Closed zephraph closed 9 years ago

zephraph commented 9 years ago

remap_hosts should allow multiple hosts to be remapped at once. In order to achieve it should take a dictionary argument instead of a single url/address pair.

zephraph commented 9 years ago

Hopefully that's a bit better. I created an extra test and it's likely that one or both of the test function docstrings should be changed.

Just let me know if there's anything else I need to fix.

zephraph commented 9 years ago

@AutomatedTester how does everything look? Do you want me to squash my commits or make any other changes?

AutomatedTester commented 9 years ago

landed in 0e959d6