abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From calav...@apache.org
Subject svn commit: r936030 - /abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java
Date Tue, 20 Apr 2010 18:56:21 GMT
Author: calavera
Date: Tue Apr 20 18:56:21 2010
New Revision: 936030

URL: http://svn.apache.org/viewvc?rev=936030&view=rev
Log:
reverting ABDERA-210, since had other side effects. Thanks to Ck

Modified:
    abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java

Modified: abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java
URL: http://svn.apache.org/viewvc/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java?rev=936030&r1=936029&r2=936030&view=diff
==============================================================================
--- abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java
(original)
+++ abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/servlet/AbderaServlet.java
Tue Apr 20 18:56:21 2010
@@ -125,11 +125,7 @@ public class AbderaServlet 
         }
       }
       if (!request.getMethod().equals("HEAD") && context.hasEntity()) {
-        if (context.isBinary()) {
           context.writeTo(response.getOutputStream());
-        } else {
-          context.writeTo(response.getWriter());
-        }
       }  
     } else {
       error("Internal Server Error", null, response);



Mime
View raw message