Tim Frith - 2003-11-27

In a cactus test class I'm trying to get the html of my login page, but I keep getting content of zero length.  I can retrieve content of other pages just fine (I tested by hitting google).

I'm using Cactus 1.5 and HTTPUnit 1.5.4 and JBoss 3.2.1/Tomcat 4.1.24.
I'm using the <cactus> and task with fork=yes.

isHTML() returns true.
getContentLength() returns 0.
getText() returns:

HttpWebResponse [url=http://localhost/demo/do/Login?siteId=1000; headers= PRAGMA: No-cache CONTENT-TYPE: text/html CONTENT-LENGTH: 0 CACHE-CONTROL: no-cache EXPIRES: Thu, 01 Jan 1970 00:00:00 GMT SERVER: Microsoft-IIS/5.1 DATE: Thu, 27 Nov 2003 18:41:28 GMT SET-COOKIE: JSESSIONID=1F1E6C5108640B4AE7D4A7FA2F65362A; Path=/demo ]

What am I doing wrong?