hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r569832 - /jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java
Date Sun, 26 Aug 2007 16:21:18 GMT
Author: rolandw
Date: Sun Aug 26 09:21:17 2007
New Revision: 569832

URL: http://svn.apache.org/viewvc?rev=569832&view=rev
Log:
adjusted to formatting API changes in core

Modified:
    jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java

Modified: jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java?rev=569832&r1=569831&r2=569832&view=diff
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java
Sun Aug 26 09:21:17 2007
@@ -43,6 +43,7 @@
 import org.apache.http.auth.MalformedChallengeException;
 import org.apache.http.auth.params.AuthParams;
 import org.apache.http.message.BasicNameValuePair;
+import org.apache.http.message.BasicHeaderValueFormatter;
 import org.apache.http.message.BufferedHeader;
 import org.apache.http.util.CharArrayBuffer;
 import org.apache.http.util.EncodingUtils;
@@ -399,7 +400,8 @@
             }
             boolean noQuotes = "nc".equals(param.getName()) ||
                                "qop".equals(param.getName());
-            BasicNameValuePair.format(buffer, param, !noQuotes);
+            BasicHeaderValueFormatter.DEFAULT
+                .formatNameValuePair(buffer, param, !noQuotes);
         }
         return new BufferedHeader(buffer);
     }



Mime
View raw message