Text
|
It is used for communication with http server.
Form object is similar to <VAR> -- It can be used to represent a general object in the same way. In addition a form object can post or put itself to an http server using http protocol. For this purpose it has some properties that needs to be set. It has a 'post' method which can be used to post it explicitly -- in this case the current thread does the work needed to connect, and post the form.
If it is not sent explicity by calling the post or put method, then during the delete operation it transforms itself into a thread to independently post itself before being garbage collected.
A form can also be sent using the HTTP-PUT using the 'put' method. This has to be done explicitly. This method is preferable in file transfer applications because it avoids MIME creation and parsing steps which reduce the throughput.
If the remote server is a caravan server both methods are supported. Some servers may not support http put.
|