Add application/javascript to ~a filter asset matcher.

This commit is contained in:
Aldo Cortesi 2012-08-30 12:42:31 +12:00
parent 38ddbcc314
commit a2f9ca1d4d
1 changed files with 2 additions and 0 deletions

View File

@ -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"