Loading libraries/robotframework-httpctrl/src/HttpCtrl/http_stub.py +5 −1 Changes for libraries/robotframework-httpctrl/src/HttpCtrl/http_stub.py: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -183,7 +183,11 @@ class HttpStubContainer(metaclass=Singleton): return False return True else: return False # The stub has neither a query nor an id, for example GET /types. A broker # may still add query parameters when forwarding (local=true, details=false), # so compare the decoded paths only. return unquote(stub.criteria.url).rstrip("/") == \ unquote(criteria_url_components[0]).rstrip("/") # if the method is not GET, we should ignore parameters and check if the url is the same else: Loading Loading
libraries/robotframework-httpctrl/src/HttpCtrl/http_stub.py +5 −1 Changes for libraries/robotframework-httpctrl/src/HttpCtrl/http_stub.py: 5 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -183,7 +183,11 @@ class HttpStubContainer(metaclass=Singleton): return False return True else: return False # The stub has neither a query nor an id, for example GET /types. A broker # may still add query parameters when forwarding (local=true, details=false), # so compare the decoded paths only. return unquote(stub.criteria.url).rstrip("/") == \ unquote(criteria_url_components[0]).rstrip("/") # if the method is not GET, we should ignore parameters and check if the url is the same else: Loading