You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ja...@apache.org on 2005/06/06 11:15:43 UTC

svn commit: r180272 - /webservices/axis/trunk/java/modules/core/src/org/apache/axis/transport/http/AxisServlet.java

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);