com.HTTPRequest.setMaximumResponseLength

Defines the maximum size in Kbyte a response.

Syntax

setMaximumResponseLength(
   length INTEGER )
  1. length is the maximum size in Kbytes.

Usage

The setMaximumResponseLength() method sets the maximum authorized size in Kbytes of the whole response (including headers, body and all control characters), before a break.

The value of -1 means no limit.