hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thom Hehl <t...@nowhereatall.com>
Subject Packet header posts differences (was cookie policy)
Date Thu, 08 Sep 2005 13:55:37 GMT
Finally, the smoking gun!

After weeks of desparation, I finally figured out to run TCPDUMP to 
record both the session from my browser which worked and the session 
from httpclient which did not work.

Here is the dump from the browser session:

09:23:35.718059 IP > gatorasp.hostgator.com.http: P 
1725:2339(614) ack 53536 win 16022 <nop,nop,timestamp 6567115 391849721>
.d4..[&.GET /cgi-bin/listman/exec/admin.cgi?setup_options_edit=1 HTTP/1.1
Host: www.ohiohomelocator.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) 
Gecko/20050716 Firefox/1.0.6

Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.ohiohomelocator.com/cgi-bin/listman/exec/admin.cgi
Cookie: id=bmedia; pw=solutions; listing_search=; listing_keyword=; 

and the dump from httpclient session:

09:38:21.209123 IP > gatorasp.hostgator.com.http: P 
220:547(327) ack 48877 win 16022 <nop,nop,timestamp 7452788 391938726>
...C.6....P.<n.......>.. .....
.q.t.\..GET /cgi-bin/listman/exec/admin.cgi?setup_options_edit=1 HTTP/1.1
User-Agent: Jakarta Commons-HttpClient/3.0-rc3
Host: www.ohiohomelocator.com
Cookie: $Version=0; id=bmedia
Cookie: $Version=0; pw=solutions
Cookie: $Version=0; listing_search=
Cookie: $Version=0; listing_keyword=
Cookie: $Version=0; listing_pagenum=1

How was this EVER supposed to work?

Now, how do I get the second dump to look like the first? Is it a 
setting I need to make, or is it time to go to the developer list?


"In every revolution, there is one man with a vision."--Jerome Bixby

Thom Hehl
<A href="www.heavyweightsoftware.com"> www.heavyweightsoftware.com</A>

To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

View raw message