com.HttpRequest.setBodyChunk()

Disable chunk mode in HTTP 1.1 if request body size is greater than 32 KB.

Syntax

setBodyChunk(
   val BOOLEAN )
  1. val defines whether the sending of several chunks is enabled or disabled.

Usage

The setBodyChunk() method allows you to disable chunk mode in the request in HTTP 1.1. Use this method to disable sending the body in several chunks when the message body size is greater than 32 KB.

Set val to FALSE to disable chunk mode. The default value is TRUE.

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).