Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Mar : Re: TidHTTPServer POST Timeout with PHP client

www.cryer.info
Managed Newsgroup Archive

Re: TidHTTPServer POST Timeout with PHP client

Subject:Re: TidHTTPServer POST Timeout with PHP client
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Mon, 12 Mar 2007 11:42:34

"Vern Baker" <javakinetic@gmail.com> wrote in message
news:1173136143.966095.298580@s48g2000cws.googlegroups.com...

>         $out = "POST XXXXXXX-Put-Stuff-Here-XXXXXXX HTTP/1.1\r
";
>         $out .= "Host: 127.0.0.1:5048\r
";
>         $out .= "Connection: Close\r
";
>         $out .= "Content-Length: 0\r
";
>         $out .= "Keep-Alive: 300\r
";
>         $out .= "Connection: keep-alive:\r
\r
";

You are specifying the "Connection" header twice.  Don't do that.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive