axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jal...@apache.org
Subject svn commit: r180272 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java
Date Mon, 06 Jun 2005 09:15:43 GMT
Author: jaliya
Date: Mon Jun  6 02:15:42 2005
New Revision: 180272

URL: http://svn.apache.org/viewcvs?rev=180272&view=rev
Log:
Fixed HTTP response code (202 instead of 204)

Modified:
    webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java

Modified: webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java?rev=180272&r1=180271&r2=180272&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java
Mon Jun  6 02:15:42 2005
@@ -261,7 +261,7 @@
 
             Object contextWritten = msgContext.getProperty(Constants.RESPONSE_WRITTEN);
             if (contextWritten == null || !Constants.VALUE_TRUE.equals(contextWritten)) {
-                res.setStatus(HttpServletResponse.SC_NO_CONTENT);
+                res.setStatus(HttpServletResponse.SC_ACCEPTED);
             }
         } catch (AxisFault e) {
             throw new ServletException(e);



Mime
View raw message