mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
Add application/javascript to ~a filter asset matcher.
This commit is contained in:
parent
38ddbcc314
commit
a2f9ca1d4d
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user