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


ProfileStringArray [] get_compression_content_type_include(
    in String [] profile_names


Parameter Type Description
profile_names String [] The names of the HTTP profiles.

Return Type

Type Description
ProfileStringArray [] The lists of “include” fields.


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.