We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 775fa00 commit 3067b4dCopy full SHA for 3067b4d
1 file changed
mocket/mockhttp.py
@@ -93,7 +93,8 @@ def can_handle(self, data):
93
return True
94
uri = urlsplit(path)
95
kw = dict(keep_blank_values=True)
96
- return uri.path == self.path and parse_qs(uri.query, **kw) == parse_qs(self.query, **kw)
+ ch = uri.path == self.path and parse_qs(uri.query, **kw) == parse_qs(self.query, **kw) and method == self.method
97
+ return ch
98
99
@staticmethod
100
def _parse_requestline(line):
0 commit comments