diff options
author | Maximilian Hils <git@maximilianhils.com> | 2015-09-17 15:16:33 +0200 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2015-09-17 15:16:33 +0200 |
commit | 906360f63f2afb4991dd2b38528798ad4efd0618 (patch) | |
tree | a89f2d2d1a768f85ea604589ade4df85b7c09d22 /web/src/js/filt/filt.js | |
parent | 12984f149cab1308b97b5ae1bdbe375787057e7e (diff) | |
download | mitmproxy-906360f63f2afb4991dd2b38528798ad4efd0618.tar.gz mitmproxy-906360f63f2afb4991dd2b38528798ad4efd0618.tar.bz2 mitmproxy-906360f63f2afb4991dd2b38528798ad4efd0618.zip |
code -> status_code, httpversion -> http_version
Diffstat (limited to 'web/src/js/filt/filt.js')
-rw-r--r-- | web/src/js/filt/filt.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/src/js/filt/filt.js b/web/src/js/filt/filt.js index 78d6a67c..02a04c66 100644 --- a/web/src/js/filt/filt.js +++ b/web/src/js/filt/filt.js @@ -1654,7 +1654,7 @@ module.exports = (function() { assetFilter.desc = "is asset"; function responseCode(code){ function responseCodeFilter(flow){ - return flow.response && flow.response.code === code; + return flow.response && flow.response.status_code === code; } responseCodeFilter.desc = "resp. code is " + code; return responseCodeFilter; @@ -1771,4 +1771,4 @@ module.exports = (function() { SyntaxError: SyntaxError, parse: parse }; -})();
\ No newline at end of file +})(); |