> and the output of that was
> 
> date => Sat, 22 Dec 2001 02:58:18 GMT
> set-cookie2 => JSESSIONID=qqh9i02sl1;Version=1;Discard;Path="/PingServer"
> content-type => text/xml
> set-cookie => JSESSIONID=qqh9i02sl1;Path=/PingServer
> servlet-engine => Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.1-internal; FreeBSD 4.4-STABLE i386; java.vendor=Sun Microsystems Inc.)
> server => Apache/1.3.22 (Unix) mod_jk mod_ssl/2.8.5 OpenSSL/0.9.6a PHP/4.0.6
> transfer-encoding => chunked
> 
> I even wrote code that intercepted the read_chunked method to make sure
> that the chunked data was being read (that is, the method
> Net::HTTP::read_chunked was being called). It was.
> 
> Jim
> 
Jim,


It might be illustrative to run this whole thing through some kind of 
proxy and watch the interaction.  There's a nice utility that comes with 
the Apache SOAP implementation (in Java) called TcpTunnelMonitor.  If 
you download the latest Apache SOAP from here 
http://xml.apache.org/dist/soap/version-2.2/ you can start the program 
like so:
java -classpath soap.jar org.apache.soap.util.net.TcpTunnelGui 80 
www.yourserver.com 80

Then, you can run your ruby programming, hitting localhost instead of 
www.yourserver.com.  You'll see all of the data sent and received in 
each post/get on a nice GUI.

If you've already got Java, it's not too much of a pain.

Chad