Read the source it returns for clues. Once I was returning a page that had a REDIRECTION in the following format:

<META HTTP-EQUIV="REFRESH" CONTENT=

Or it could be the GetChunk crap. I prefer Java for this sort of thing.