You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ol...@apache.org on 2004/02/27 20:11:10 UTC
cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpConstants.java
olegk 2004/02/27 11:11:10
Modified: httpclient/src/java/org/apache/commons/httpclient Tag:
HTTPCLIENT_2_0_BRANCH HttpConstants.java
Log:
PR #27295 (wrong charset indication in HttpConstants.getContentString())
Contributed by Oleg Kalnichevski
Revision Changes Path
No revision
No revision
1.10.2.2 +4 -6 jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConstants.java
Index: HttpConstants.java
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpConstants.java,v
retrieving revision 1.10.2.1
retrieving revision 1.10.2.2
diff -u -r1.10.2.1 -r1.10.2.2
--- HttpConstants.java 22 Feb 2004 18:21:13 -0000 1.10.2.1
+++ HttpConstants.java 27 Feb 2004 19:11:10 -0000 1.10.2.2
@@ -200,9 +200,7 @@
} catch (UnsupportedEncodingException e) {
if (LOG.isWarnEnabled()) {
- LOG.warn("Unsupported encoding: "
- + DEFAULT_CONTENT_CHARSET
- + ". Default HTTP encoding used");
+ LOG.warn("Unsupported encoding: " + charset + ". Default HTTP encoding used");
}
try {
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org