tmsh syntax to add json to compression profile
I am trying to add "application/json" to a compression file. I can't figure out the correct syntax and a search doesn't get me anything. It's probably something simple but I am very weak when it comes to this. I am guessing based on the existing profile but no matter what I do I get syntax errors.
Existing profile that is working. ltm profile http-compression Http_compression-compression { app-service none content-type-exclude { .\.pdf .\.gif .\.bmp oriongeocodemanager.asmx .\.jpg } content-type-include { text/ "application/(xml|x-javascript)" text/.* .\.css .\.js tc } defaults-from httpcompression }
Modification which fails tmsh modify ltm profile http-compression Http_compression-compression content-type-include { text/ "application/(xml|x-javascript)" text/ "application/json" text/.* .\.css .\.js .\.png .\.htc }
Syntax Error: "{" unexpected argument