RE: How to use the POST method ?

Hi,
I also had the same problem with the 5.1l version. Went back to 5.1j
version and it was ok, though in the comline program the POST option is not
fully implemented.
Regards,
Aravind

> -----Original Message-----
> From: www-lib-request@w3.org [mailto:www-lib-request@w3.org]On Behalf Of
> Maier Thomas
> Sent: Thursday, 14 May 1998 3:31
> To: 'www-lib@w3.org'
> Subject: How to use the POST method ?
>
>
> I'm trying to use the POST method in the example comline, but I
> think it does not work.
>
> usage:	comline -post http://willisparc/cgi-bin/test-query
> -form "SUBMIT=Abschicken" -dest http://destination-pc
> (tested even with several command line options described on
> http://www.w3c.org/ComLine/User/CommandLine.htm> l)
>
> The result
> is:
> Looking up willisparc
> Contacting willisparc
>
> Writing...
> Reading...
> Writing...
>
> Then the comline program remains in the event loop, but I cound
> not get the requested HTML code.
> The flag -source displays
> Looking up willisparc
> Contacting willisparc
> Writing...
> Reading...
> HTTP/1.1 100 Continue
> Writing...
> but comline does not return the requested Html code of the cgi program.
>
> Debugging gives me the following assumption:
> HTPostFormAnchor will send/upload the the parameters in
> formfields correctly but the server will not reply the Html
> code. I'm even testing it with a modified comline program where
> I was using the blocking (preemptive) way, but no success.
> Am I doing something wrong in the usage of comline or libwww or
> is there a known problem (bug) ?
>
> Thomas
>
> EMail: thomas.maier@infonova.at
>
>
>

Received on Wednesday, 13 May 1998 18:21:48 UTC