chunked-uploads

This command controls whether the web application firewall can send chunked-encoded documents to the target server.

Syntax

chunked-uploads on

chunked-uploads off

Parameters

on
Enables chunked encoding for HTTP/1.1 requests to the target server.
off
Disables chunked encoding for HTTP/1.1 requests to the target server. This setting is the default value.

Guidelines

The chunked-uploads command controls whether DataPower® service can send chunked-encoded documents to the target server.

DataPower services can send an HTTP/1.1 request to the target server. In this case, the body of the document can be delimited by Content-Length or chunked encoding.

All servers understand Content-Length, but many applications fail to understand chunked encoding. Therefore, Content-Length is used.
Note: The use of Content-Length interferes with the ability of the DataPower service to fully stream.
Unlike all other HTTP/1.1 features that can be negotiated down at run time, you must know beforehand that the target server is RFC 2616 compatible.
  • If you must stream full documents to the target server, set this property to on.
  • Consider leaving this property set to off. You can the User Agent chunked-uploads-policy command to enable chunked-encoding on a per-URL basis.

Examples

  • Enable chunked encoding support.
    # chunked-uploads on
  • Disable chunked encoding support to restore the default state.
    # chunked-uploads off