hi; i just upgraded to http client 2.0.2. i noticed that i keep getting the following log message:
"2004-10-26 22:36:18 [http8080-Processor25] WARN commons.httpclient.HttpMethodBa se - Going to buffer response body of large or unknown size. Using getResponseA sStream instead is recommended." my usage of HTTP Client is for screen scrapping. i read the HTML of a page from a URL as is and parse it to find the data i need. i am using the getAsString method of the Http client API. this message appears only for the new version. i was wondering if someone could shed light about this. should i really use the get as stream instead? is there a performance benefit when using the getAsStream over the more convenient getAsString? also, the message is pretty annoying cause i use thew screen scapping all the time, i am not sure that it should be there. if its a matter of best practice than maybe the mesage should not be logged at all. thanks in advance. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
