hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micha...@apache.org
Subject svn commit: r1682243 - /httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java
Date Thu, 28 May 2015 13:46:55 GMT
Author: michaelo
Date: Thu May 28 13:46:54 2015
New Revision: 1682243

URL: http://svn.apache.org/r1682243
Log:
Fixed typo in exception message

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java?rev=1682243&r1=1682242&r2=1682243&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/main/java/org/apache/http/client/protocol/ResponseContentEncoding.java
Thu May 28 13:46:54 2015
@@ -143,7 +143,7 @@ public class ResponseContentEncoding imp
                         response.removeHeaders("Content-MD5");
                     } else {
                         if (!"identity".equals(codecname) && !ignoreUnknown) {
-                            throw new HttpException("Unsupported Content-Coding: " + codec.getName());
+                            throw new HttpException("Unsupported Content-Encoding: " + codec.getName());
                         }
                     }
                 }



Mime
View raw message