diff options
Diffstat (limited to 'libmproxy/filt.py')
-rw-r--r-- | libmproxy/filt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/filt.py b/libmproxy/filt.py index 7cd0f4df..acbf4ef9 100644 --- a/libmproxy/filt.py +++ b/libmproxy/filt.py @@ -270,7 +270,7 @@ class FCode(_Int): help = "HTTP response code" def __call__(self, f): - if f.response and f.response.code == self.num: + if f.response and f.response.status_code == self.num: return True |