abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r550341 - /incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java
Date Mon, 25 Jun 2007 04:26:22 GMT
Author: jmsnell
Date: Sun Jun 24 21:26:20 2007
New Revision: 550341

URL: http://svn.apache.org/viewvc?view=rev&rev=550341
Log:
Tweak the default request options

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

Modified: incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java?view=diff&rev=550341&r1=550340&r2=550341
==============================================================================
--- incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java
(original)
+++ incubator/abdera/java/trunk/client/src/main/java/org/apache/abdera/protocol/client/util/MethodHelper.java
Sun Jun 24 21:26:20 2007
@@ -185,14 +185,17 @@
   public static RequestOptions createDefaultRequestOptions() {
     RequestOptions options = new RequestOptions();
     options.setAcceptEncoding(
-      "gzip;q=1.0", 
-      "deflate;q=1.0");
+      "gzip", 
+      "deflate");
     options.setAccept(
+      "application/atom+xml;type=entry",
+      "application/atom+xml;type=feed",
       "application/atom+xml",
-      "application/atomserv+xml",
-      "application/xml;q=0.8",
-      "text/xml;q=0.5",
-      "*/*;q=0.1");
+      "application/atomsvc+xml",
+      "application/atomcat+xml",
+      "application/xml",
+      "text/xml",
+      "*/*");
     options.setAcceptCharset(
       "utf-8", "*;q=0.5");
     return options;



Mime
View raw message