Introduced : BIG-IP_v9.0
This method is deprecated (immediately) and should no longer be used. Adds to the lists of regular expressions used to match the MIME types in the server response&aposs “Content-Type:” headers. No match may be found in any of the “exclude” fields. For example, to disable compression on all PDF and image files, one would use the following in the content_type exclue fields: : “application/pdf” “image/*”.


    in String [] profile_names,
    in String [] [] reg_expressions


Parameter Type Description
profile_names String [] The names of the HTTP profiles.
reg_expressions String [] [] The lists of regular expressions to be added to the “exclude” list.

Return Type

Type Description


Exception Description
Common::AccessDenied Raised if the client credentials are not valid.
Common::NotImplemented Raised if the method is not supported or implemented.

See Also


The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code

The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.