[prev in list] [next in list] [prev in thread] [next in thread]
List: httpclient-commons-dev
Subject: [jira] Closed: (HTTPCLIENT-604) Don't issue a warning when using
From: "Roland Weber (JIRA)" <jira () apache ! org>
Date: 2006-10-02 7:12:19
Message-ID: 22595042.1159773139993.JavaMail.root () brutus
[Download RAW message or body]
[ http://issues.apache.org/jira/browse/HTTPCLIENT-604?page=all ]
Roland Weber closed HTTPCLIENT-604.
-----------------------------------
Resolution: Duplicate
> Don't issue a warning when using getResponseBodyAsString
> --------------------------------------------------------
>
> Key: HTTPCLIENT-604
> URL: http://issues.apache.org/jira/browse/HTTPCLIENT-604
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Affects Versions: 3.0.1
> Reporter: Hans Dockter
> Priority: Minor
>
> If I use the method HttpMethodBase.getResponseBodyAsString I get a log message with \
> log level warning. We take our log output very seriously. For us warning means, \
> something has to done. But we use this method to get information from a trusted \
> intranet webapplication. The http spec does not expect content-length to be set. So \
> this intranet webapp behaves perfectly ok. And our application also does the right \
> thing. Please, please (so many libraries are too verbose in there logging) put a \
> warning in the javadoc but don't log a warning. For us this is a bug. We can't use \
> this method. We have to use a workaround like this: \
> IOUtils.toString(method.getResponseBodyAsStream()); Unfortunately we have to deal \
> with the encoding by ourselves now.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic