W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1996

Your response

From: Poonam Mehtani <mehtani@csl.sri.com>
Date: Fri, 29 Mar 1996 13:45:39 -0800 (PST)
Message-Id: <199603292145.NAA22703@daisy.csl.sri.com>
To: www-lib@w3.org

Hi Henerik,

        Thanks for your quick response to my mail. I have been trying to move 
forward with your suggestions and as yet not have been able to come up with a 
solution. In order to make things more clear I have below included an example of
what I am trying to do. I would appreciate if you could help me out.

 First of all I used the command line on my terminal to connect and download 
from a server using the POST method. The results are shown in a). below. After 
that I tried to use your tool (w3c) to perform the same operation. This is shown
in b). below.

The results of the w3c command are:

Read (100% of 1k)
Written(266% of 1k)
Written(100% of 1k)
Finished.

The result is I did not receive any document. If the program gets the document 
where does it put it ?

In any case could you please tell me what am I doing wrong? I expect to fetch 
some document as a result of the w3c command. 

Also, how should I send the Content-type, Content-length and the query string? I
also tried adding content-type and Content-length headers to the file 
"query.txt".

Thanks again for your time and effort.

Best Regards;


Poonam Mehtani.



******************************************************************************


a). Using the command line
===========================

     Input Session
     -------------
     
     
     
daisy[1]/homes/mehtani>telnet www.ai.sri.com 
Trying 128.18.62.198 ...
Connected to www.ai.sri.com.
Escape character is '^]'.
POST /cgi-bin/pubs/glimpse_to_html.pl HTTP/1.0 
Content-type: application/x-www-form-urlencoded 
Content-length: 28
     
field_name=Year&pattern=1996
     
     
response of input session from the server
-----------------------------------------
     
HTTP/1.0 200 Document follows
Date: Wed, 27 Mar 1996 18:59:17 GMT
Server: NCSA/1.5
Content-type: text/html
     
     
<html> <head>
<LINK REV=made href=mailto:webmaster@www.ai.sri.com> 
<title>All Publications matching Year "1996"</title>
     
<BODY BGCOLOR="#FFFFFF"  text="#000000" link="#FF0000" vlink="#440000"> 
</head>
     
<body>
<center>
<IMG align=center SRC="/icons/srilogo.gif" ALT="SRI International"> 
<IMG align=center SRC="/icons/aic.gif" ALT="Artificial Intelligence Center"> 
<h2>All Publications matching Year "1996"</h2>
</center>
<FORM type=ENTRY size=30 method=POST action="/cgi-bin/pubs/glimpse_to_html.pl"> 
<img src="/icons/redball.gif"> <b>Search</b>
<SELECT name="field_name">
<OPTION>Any Field
<OPTION>Author
<OPTION>Keywords
<OPTION>Number
<OPTION>Title
<OPTION SELECTED>Year
</SELECT> in <SELECT name="doc_type"> 
<OPTION SELECTED>All Publications
<OPTION>Papers
<OPTION>Technical Notes
<OPTION>Brochures
</SELECT> and display <SELECT name="display_type"> 
<OPTION SELECTED>in Standard Form
<OPTION>in Compact Form
<OPTION>in Edit Form
<OPTION>in BibTeX Form
</SELECT>
<br><INPUT NAME="pattern" VALUE="1996" SIZE=45></INPUT>
<INPUT TYPE=submit VALUE=submit> (<a href="/pubs/search-help.html">Search 
Help</a>)
</FORM>
<hr>
  <P> P. Fua, <A
HREF="/cgi-bin/pubs/list_document_object.pl?doc_uri=/pubs/papers/Fua96:Multiple/
">"From Multiple Stereo Views to Multiple 3--D Surfaces,"</A> <I>International 
Journal of Computer Vision</I>, <b>1996</b>. Accepted for publication, available
as Tech Note 550, Artificial Intelligence Center, SRI International. 
<BLOCKQUOTE><B>Abstract: </B>We present a framework for 3--D surface 
reconstruction that can be used to model fully 3--Dimensional scenes from an 
arbitrary number of stereo views taken from vastly different viewpoints. This is
a key step toward producing 3--D world-descriptions of complex scenes using 
stereo and is a very challenging problem: real-world scenes tend to contain many
3--D objects, they do not usually conform to the 2-1/2--D assumption made by 
traditional algorithms, and one cannot take it for granted that the computed 
3--D points can easily be clustered into separate groups. Furthermore, stereo 
data is often incomplete and sometimes erroneous,!
 which makes the problem even m
<P>
<hr>
     
<STRONG><IMG SRC="/icons/back.xbm" ALT="Back to"> 
<A HREF="/pubs/">AIC Publications Page</A> |
<A HREF="/">AIC Home Page</A></STRONG> 
<hr>
<font size=2>
<b>
<address><A
HREF="mailto:bibmaster@www.ai.sri.com">bibmaster@www.ai.sri.com</A></address> 
<br>
</b>
<br>
</font>
     
</body> </html>
Connection closed by foreign host.


********************************************************************************
     
     
     b). Using the w3c tool
     ======================
     
     Input Session
     -------------
     
     I tried the following using Command Line Tool to retrieve the above 
     document:
     
w3c -post query.txt -dest http://www.ai.sri.com/pubs/glimpse_to_html.pl
     
where the file query.txt contains the query string: 
"field_name=Year&pattern=1996".
     
     
     Results of the w3c command
     --------------------------
     
     Read (100% of 1k)
     Written(266% of 1k)
     Written(100% of 1k)
     Finished.
     
     
     
     **********************************************************************
Received on Friday, 29 March 1996 16:45:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:26 GMT