Re: Post command!

Giganews Newsgroups
Subject: Re: Post command!
Posted by:  Remy Lebeau \(TeamB\) (
Date: Thu, 7 Aug 2008

"Atmapuri" <janez.makovs…> wrote in message

> Is it possible to issue a POST command without
> waiting for response by using TIDHttp?

No.  HTTP is a command/response protocol.  TIdHTTP always waits for
respones.  You cannot disable that.

> The POST command triggers a script on the server
> and script execution takes extensive time.

Any HTTP client that invokes that script would be trying to wait for that
reply.  Why should yours be different?

> Is there something the script can send back to the
> client ti release it before the script is done?

The script can send back a proper reply anytime it wants.  But if the script
is generating data that is not complete until the script is finished
running, then the client has to wait until the end anyway in order to get
all of the data.



In response to

Post command! posted by Atmapuri on Mon, 4 Aug 2008