Thanks for the quick reply!

Hmmm... interesting.  Do you have any example code?  In short, I don't
understand what I'm iterating over.

System.out.println(getResponseBodyAsString()) seems to show the entire
HTTP reply to my eye.  I guess I'm not aware of the algorithm used by
the getReponseBody...() methods... ie, what the order of things should
be when parsing any given webpage.  Is there a website I can look at
that can help me understand what I'm getting back from HttpClient?  I
did notice that I could run getResponseBodyAsStream() a number of
times without getting a -1 back, which confused me as well.

Thanks also for your patience with this HttpClient newbie.

On 7/14/05, Gustavo Hexsel <[EMAIL PROTECTED]> wrote:
>   You have to iterate through all the stream, not read it only once.  The
> reason why it's probably working is because the getResponseBodyAsString
> might be buffering it for you...
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to