LocalLB::ProfileHttp::set_keep_accept_encoding_header_state¶
Introduced : BIG-IP_v9.0
This method is deprecated (immediately) and should no longer be used.
Sets the states that specify how we handle the “Accept-Encoding:”
header. If set to false, we will strip the “Accept-Encoding:” header
before passing the request on to the server (so that the server
doesn&apost also compress the response). If it is set to true, we will
leave the “Accept-Encoding:” header in the request so that servers are
able to do compression. We will not compress responses that have
already been compressed.
Prototype¶
set_keep_accept_encoding_header_state(
in String [] profile_names,
in LocalLB__ProfileEnabledState [] states
);
Parameters¶
Parameter | Type | Description |
profile_names | String [] | The names of the HTTP profiles. |
states | ProfileEnabledState [] | The states indicating how we handle the “Accept-Encoding:” header. |
Exceptions¶
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¶
iControl ::
Warning
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.