Back to product page

HeadersDone method


Called when wodHttpDLX finishes receiving headers.

Type

None

Syntax

  • Basic
object.HeadersDone Owner
The HeadersDone(object,Owner) syntax has these parts:
objectAn expression evaluating to an object of type wodHttpNotify.
OwnerRequired. A wodHttpDLXCom object. Reference to wodHttpDLXCom instance that called this notification method.

Remarks

NOTE: This method is called only if you implemented IwodHttpNotify interface in your application, and wodHttp.Notification property has received reference to instance of your implementation.

The HTTP protocol works in a way such that every document that is sent or retrieved has several headers describing the document. Some of them are for the client's use, and some of them provide specific details to the user about the received document.

At this point you can be aware of the name for the document that is to be downloaded, and, for example, setup Response.Filename property so it points to a location on the disk where document should be stored.

This notification method is called when all headers have arrived. The user should refer to them if he needs some particular information about the received document.

The wodHttpDLX control does not interfere with sent or received headers, except these:
    Content-Length
    Content-Type
    Connection/Proxy-Connection
    Host

Platforms

Windows