HTTPretty
HTTPretty copied to clipboard
Non standard ports don't work with regexp.
I'm not sure how this would be picked up but if i have:
httpretty.register_uri(httpretty.GET, re.compile("http://localhost:5000/.*"), _callback)
the port 5000 is not added to the list of POTENTIAL_HTTP_PORTS and so the callback will never be triggered.