Back to product page

HeadersDone event


Fires when wodHttpDLX finishes receiving headers.

Syntax

  • Basic
Private Sub object_HeadersDone()
The HeadersDone(object) syntax has these parts:
objectA wodHttpDLX object.

Remarks

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 event is fired 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