LocalLB::HttpChunkMode

Introduced : BIG-IP_v9.0
An enumeration of HTTP chunk modes.

Members

Member

Value

Description

HTTP_CHUNK_MODE_PRESERVE

0

Do nothing, preserve data as is.

HTTP_CHUNK_MODE_SELECTIVE

1

If the request or response is chunked: unchunk the HTTP content, process the data, re-add chunking headers on egress. Chunk extensions will be lost. If the request or response is not chunked: do nothing.

HTTP_CHUNK_MODE_UNCHUNK

2

If the response is chunked: remove the HTTP transfer encoding headers, remove the chunk headers, process HTTP content, and pass request/response unchunked. The connection will be closed when all the data is sent. If the response is not chunked: do nothing. (this option is not allowed for request processing).

HTTP_CHUNK_MODE_RECHUNK

3

If the request or response is chunked: unchunk the HTTP content, process the data, re-add chunking headers on egress. Chunk extensions will be lost. If the request or response is not chunked: add transfer encoding and chunking headers on egress.

See Also

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.