From a2f9ca1d4d2a3ba673c4f37f66a98f90e3bf75af Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 30 Aug 2012 12:42:31 +1200 Subject: [PATCH] Add application/javascript to ~a filter asset matcher. --- libmproxy/filt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libmproxy/filt.py b/libmproxy/filt.py index 233cbb62e..a0c61ee94 100644 --- a/libmproxy/filt.py +++ b/libmproxy/filt.py @@ -27,6 +27,7 @@ ~a Asset content-type in response. Asset content types are: text/javascript application/x-javascript + application/javascript text/css image/* application/x-shockwave-flash @@ -107,6 +108,7 @@ class FAsset(_Action): ASSET_TYPES = [ "text/javascript", "application/x-javascript", + "application/javascript", "text/css", "image/.*", "application/x-shockwave-flash"