Re: Post command!

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

"Atmapuri" <janez.makovs…@usa.net> wrote in message
news:7308B9490B5EE340janez.makovs…@usa.net...

> 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.

Gambit

Replies

In response to

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