hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Knights" <br...@knightsofthenet.com>
Subject Re: Odd problem
Date Mon, 02 Feb 2004 20:57:50 GMT
That's what I thought when I first looked at it but it appears to use
the JDK connection classes.
A grinder transcript using HttpUnit (succeeds) and HttpClient (fails)
follows. One thing that's odd is that the HttpClient transaction looks
more like the transcript I get with IE than does the one using
HttpUnit.

HTH

With HttpUnit:
**********************************************************************
***************************


--- localhost:4078->server.com:443 closed --
--- server.com:443->localhost:4078 closed --
--- localhost:4345->server.com:443 opened --
--- server.com:443->localhost:4345 opened --
------ localhost:4345->server.com:443 ------
POST /app/login/nllogin.nl HTTP/1.1
User-Agent: httpunit/1.5
Host: server.com
Content-Type: application/x-www-form-urlencoded
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Cache-Control: no-cache
Pragma: no-cache
Connection: keep-alive
Content-Length: 66


------ localhost:4345->server.com:443 ------
password=blah&email=brett%40knightsofthenet.com&ct=0&jsenabled=T
------ server.com:443->localhost:4345 ------
HTTP/1.1 302 Moved Temporarily
Date: Mon, 02 Feb 2004 15:08:23 GMT
Server: Oracle9iAS/9.0.2 Oracle HTTP Server
Set-Cookie: NS_VER=9.1; domain=server.com; path=/
Set-Cookie:
JSESSIONID=9b62d46494a44d2588f987b65288ca51.mkbxr2PEmlnva34P-BbQmkLz-A
Tzr6Lzn6rzqwTxpQOUc30KaNDvmQbJrkTOokTBrxyL8Q5xmReHoA5Qmh0LbgTvmQbO-kDv
rA4KahiIqRnvp6iIpAjOp6jynQjM-AbJpgaQch0PbwbCpQPz8QvJpkixn6jAmljGr5XDqQ
LvpAe_; Path=/
Set-Cookie: lastUser=ACCT102534_3_3; Expires=Mon, 09-Feb-2004 15:08:24
GMT; Path=/
Set-Cookie: loginredirect=T; Domain=server.com; Expires=Fri,
02-Apr-2004 15:08:24 GMT; Path=/
Set-Cookie:
stickytags=T1:byMeU53W,T2:byMeU53W,T3:byMeU53W,T4:byMeU53W,T5:byMeU53W
,T6:byMeU53W,T7:byMeU53W,T8:byMeU53W,T9:byMeU53W,T10:byMeU53W,T11:byMe
U53W,T12:byMeU53W,T13:byMeU53W,T14:byMeU53W,T15:byMeU53W,T16:byMeU53W;
Path=/
Cache-Control: private
Location: /app/center/card.nl?sc=-29
P3P: CP="CAO PSAa OUR BUS PUR"
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

0


------ localhost:4345->server.com:443 ------
GET /app/external/xml/upload/upload.nl HTTP/1.1
User-Agent: httpunit/1.5

------ localhost:4345->server.com:443 ------
Cookie:
JSESSIONID=9b62d46494a44d2588f987b65288ca51.mkbxr2PEmlnva34P-BbQmkLz-A
Tzr6Lzn6rzqwTxpQOUc30KaNDvmQbJrkTOokTBrxyL8Q5xmReHoA5Qmh0LbgTvmQbO-kDv
rA4KahiIqRnvp6iIpAjOp6jynQjM-AbJpgaQch0PbwbCpQPz8QvJpkixn6jAmljGr5XDqQ
LvpAe_;lastUser=ACCT102534_3_3;stickytags=T1:byMeU53W,T2:byMeU53W,T3:b
yMeU53W,T4:byMeU53W,T5:byMeU53W,T6:byMeU53W,T7:byMeU53W,T8:byMeU53W,T9
:byMeU53W,T10:byMeU53W,T11:byMeU53W,T12:byMeU53W,T13:byMeU53W,T14:byMe
U53W,T15:byMeU53W,T16:byMeU53W
Host: server.com
Cache-Control: no-cache

------ localhost:4345->server.com:443 ------
Pragma: no-cache
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive


------ server.com:443->localhost:4345 ------
HTTP/1.1 200 OK
Date: Mon, 02 Feb 2004 15:08:24 GMT
Server: Oracle9iAS/9.0.2 Oracle HTTP Server
Set-Cookie:
JSESSIONID=9b62d46494a44d2588f987b65288ca51.mkbxr2PEmlnva34P-BbQmkLz-A
Tzr6Lzn6rzqwTxpQOUc30KaNDvmQbJrkTOokTBrxyL8Q5xmReHoA5Qmh0LbgTvmQbO-kDv
rA4KahiIqRnvp6iIpAjOp6jynQjM-AbJpgaQch0PbwbCpQPz8QvJpkixn6jAmljGr5XDqQ
LvpAe_; Path=/
Set-Cookie: NLVisitorId=GEVsNl-JAHPkxcOm; Expires=Sun, 23-Jan-2005
15:08:24 GMT; Path=/
Last-Modified: Mon, 02 Feb 2004 15:08:23 GMT
Expires: 0
P3P: CP="CAO PSAa OUR BUS PUR"
Pragma: No-Cache
Cache-Control: No-Cache
Keep-Alive: timeout=15, max=999
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1


------ server.com:443->localhost:4345 ------
1ffa

------ server.com:443->localhost:4345 ------

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
... <receive the expected page>

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


With HttpClient:
**********************************************************************
***************************
--- localhost:4345->server.com:443 closed --
--- server.com:443->localhost:4345 closed --
--- localhost:2001->server.com:443 opened --
--- server.com:443->localhost:2001 opened --
------ localhost:2001->server.com:443 ------
POST /app/login/nllogin.nl HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
Q312461)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Accept: */*
Host: server.com
Content-Length: 66
Content-Type: application/x-www-form-urlencoded


------ localhost:2001->server.com:443 ------
email=brett%40knightsofthenet.com&password=blah&jsenabled=T&ct=0
------ server.com:443->localhost:2001 ------
HTTP/1.1 302 Moved Temporarily
Date: Mon, 02 Feb 2004 17:05:41 GMT
Server: Oracle9iAS/9.0.2 Oracle HTTP Server
Set-Cookie: NS_VER=9.1; domain=server.com; path=/
Set-Cookie:
JSESSIONID=0d19260c44084c0b86afcf5b3ddeee62.mkbxr2PEmlnva30T-BbQmkLz-A
Tzr6Lzn6rzqwTxpQOUc30KaNDvmQbJrkTOokTBrxyL8Q5xmReHoA5Qmh0KcgTvmQbO-kDv
rA4Ka3yIqRnvp6iIpAjOp6jynQjM-AbJpgaQc3yObwbCpQPz8QvJpkixn6jAmljGr5XDqQ
LvpAe_; Path=/
Set-Cookie: lastUser=ACCT102534_3_3; Expires=Mon, 09-Feb-2004 17:05:42
GMT; Path=/
Set-Cookie: loginredirect=T; Domain=server.com; Expires=Fri,
02-Apr-2004 17:05:42 GMT; Path=/
Set-Cookie:
stickytags=T1:byMeU53W,T2:byMeU53W,T3:byMeU53W,T4:byMeU53W,T5:byMeU53W
,T6:byMeU53W,T7:byMeU53W,T8:byMeU53W,T9:byMeU53W,T10:byMeU53W,T11:byMe
U53W,T12:byMeU53W,T13:byMeU53W,T14:byMeU53W,T15:byMeU53W,T16:byMeU53W;
Path=/
Cache-Control: private
Location: /app/center/card.nl?sc=-29
P3P: CP="CAO PSAa OUR BUS PUR"
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

0


------ localhost:2001->server.com:443 ------
GET /app/external/xml/upload/upload.nl HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
Q312461)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Accept: */*
Referer: https://server.com/app/login/nllogin.nl
Host: server.com
Cookie: NS_VER=9.1
Cookie:
JSESSIONID=0d19260c44084c0b86afcf5b3ddeee62.mkbxr2PEmlnva30T-BbQmkLz-A
Tzr6Lzn6rzqwTxpQOUc30KaNDvmQbJrkTOokTBrxyL8Q5xmReHoA5Qmh0KcgTvmQbO-kDv
rA4Ka3yIqRnvp6iIpAjOp6jynQjM-AbJpgaQc3yObwbCpQPz8QvJpkixn6jAmljGr5XDqQ
LvpAe_
Cookie: lastUser=ACCT102534_3_3
Cookie: loginredirect=T
Cookie:
stickytags=T1:byMeU53W,T2:byMeU53W,T3:byMeU53W,T4:byMeU53W,T5:byMeU53W
,T6:byMeU53W,T7:byMeU53W,T8:byMeU53W,T9:byMeU53W,T10:byMeU53W,T11:byMe
U53W,T12:byMeU53W,T13:byMeU53W,T14:byMeU53W,T15:byMeU53W,T16:byMeU53W


------ server.com:443->localhost:2001 ------
HTTP/1.1 404 Not Found
Date: Mon, 02 Feb 2004 17:05:43 GMT
Server: Oracle9iAS/9.0.2 Oracle HTTP Server
Keep-Alive: timeout=15, max=999
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1

11b
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>404 Not Found</TITLE>
</HEAD><BODY>
<H1>Not Found</H1>
The requested URL / was not found on this server.<P>
<HR>
<ADDRESS>Oracle HTTP Server/1.3.22 Server at server.com Port
444</ADDRESS>
</BODY></HTML>

0


--- localhost:2001->server.com:443 closed --
--- server.com:443->localhost:2001 closed --



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


Mime
View raw message