aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/flow/utils.js
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2014-09-19 01:57:50 +0200
committerMaximilian Hils <git@maximilianhils.com>2014-09-19 01:57:50 +0200
commitb5e727da8869baf9d24720debf8ff6c6c22c8500 (patch)
treea310da3e2b14e898a961f71baee738e952dd48b6 /web/src/js/flow/utils.js
parentb0374710e4ef934c2ae9b416e5c981e04ed776ed (diff)
downloadmitmproxy-b5e727da8869baf9d24720debf8ff6c6c22c8500.tar.gz
mitmproxy-b5e727da8869baf9d24720debf8ff6c6c22c8500.tar.bz2
mitmproxy-b5e727da8869baf9d24720debf8ff6c6c22c8500.zip
web: flow icons
Diffstat (limited to 'web/src/js/flow/utils.js')
-rw-r--r--web/src/js/flow/utils.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/flow/utils.js b/web/src/js/flow/utils.js
index b621f06d..e54f7c59 100644
--- a/web/src/js/flow/utils.js
+++ b/web/src/js/flow/utils.js
@@ -1,6 +1,6 @@
var _MessageUtils = {
getContentType: function (message) {
- return MessageUtils.getHeader(message, /Content-Type/i);
+ return this.get_first_header(message, /^Content-Type$/i);
},
get_first_header: function (message, regex) {
//FIXME: Cache Invalidation.