Back to product page

Length


Holds length of received body.

Type

A Long value

Syntax

  • Basic
object.Length
The Length(object) syntax has these parts:
objectAn expression evaluating to an object of type HttpResponse.

Remarks

After a document is received, this property will contain its length ONLY if it as specified by the server. Document can be accessed through the Body or Filename properties.

This property is filled only if server sends 'Content-Length' header. If not, you will get received body length using Len(Response.Body) call (in VB).

Platforms

Windows