abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ckopp...@apache.org
Subject svn commit: r1065346 - /abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java
Date Sun, 30 Jan 2011 18:45:01 GMT
Author: ckoppelt
Date: Sun Jan 30 18:45:01 2011
New Revision: 1065346

URL: http://svn.apache.org/viewvc?rev=1065346&view=rev
Log:
added quaility factors to request accept header

Modified:
    abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java

Modified: abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java?rev=1065346&r1=1065345&r2=1065346&view=diff
==============================================================================
--- abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java
(original)
+++ abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java
Sun Jan 30 18:45:01 2011
@@ -202,9 +202,9 @@ public class MethodHelper {
                           "application/atom+xml",
                           "application/atomsvc+xml",
                           "application/atomcat+xml",
-                          "application/xml",
-                          "text/xml",
-                          "*/*");
+                          "application/xml;q=0.5",
+                          "text/xml;q=0.5",
+                          "*/*;q=0.01");
         options.setAcceptCharset("utf-8", "*;q=0.5");
         return options;
     }



Mime
View raw message