W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1996

Re: post request

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Thu, 04 Apr 1996 15:02:12 -0500
Message-Id: <199604042002.PAA03464@anansi.w3.org>
To: framba@hscape.com (Marco Framba)
Cc: www-lib@w3.org
Marco Framba writes:

> 	I just started to use the W3 reference Library 4.0D and I am
> 	trying to use the post method to post a local URL (e.g. file:/.login)
> 	to a destination cgi bin. I am using the example in the 
> 	W3CCommandLine program :
> 	.....
>     /* If destination specified then bind together anchors */
>     if (cl->dest) HTAnchor_link((HTAnchor*)cl->anchor,
>                                 (HTAnchor*)cl->dest, NULL, cl->method);
> 	.....
>     if (cl->dest)                                          /* PUT, POST etc. 
>         status = HTCopyAnchor((HTAnchor *) cl->anchor, cl->request);
> 	I have a question. The destination cgi bin send back a text/plain
> 	answer object. I am not able to receive/see this object from the 
> 	library. Is it possible to receive back this object from the
> 	library ?

Yes, in fact this is the reason why you an anchor for the source (your local 
and one for the destination (the reponse sent by the cgi script) When you link
together two anchors you create a link object with the link relationship and 
to be used.

Normally, you should be able to get the resonse without problems - have you 
the verbose output - it may be that the response simply goes down a black hole.

Please Note: I forwarded the reply to the <www-lib@w3.org> mailing list as it 
is of
general interest. You can find the archives at




Henrik Frystyk Nielsen, <frystyk@w3.org>
World-Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA
Received on Thursday, 4 April 1996 15:02:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:47 UTC