axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sen...@apache.org
Subject svn commit: r637169 - /webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c
Date Fri, 14 Mar 2008 17:19:47 GMT
Author: senaka
Date: Fri Mar 14 10:19:44 2008
New Revision: 637169

URL: http://svn.apache.org/viewvc?rev=637169&view=rev
Log:
Fixing Issue in Content Type of Failure Response

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c?rev=637169&r1=637168&r2=637169&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_worker.c Fri
Mar 14 10:19:44 2008
@@ -317,7 +317,7 @@
             {
                 body_string =
                     axis2_http_transport_utils_get_services_html(env, conf_ctx);
-                request->content_type = "text/xml";
+                request->content_type = "text/html";
             }
             else if (M_DELETE != request->method_number && wsdl)
             {
@@ -334,14 +334,14 @@
             {
                 body_string =
                     axis2_http_transport_utils_get_not_found(env, conf_ctx);
-                request->content_type = "text/xml";
+                request->content_type = "text/html";
                 request->status = 404;
             }
             else
             {
                 body_string =
                     axis2_http_transport_utils_get_services_html(env, conf_ctx);
-                request->content_type = "text/xml";
+                request->content_type = "text/html";
                 request->status = HTTP_INTERNAL_SERVER_ERROR;
             }
 
@@ -376,14 +376,14 @@
             {
                 body_string =
                     axis2_http_transport_utils_get_not_found(env, conf_ctx);
-                request->content_type = "text/xml";
+                request->content_type = "text/html";
                 request->status = 404;
             }
             else
             {
                 body_string =
                     axis2_http_transport_utils_get_services_html(env, conf_ctx);
-                request->content_type = "text/xml";
+                request->content_type = "text/html";
                 request->status = HTTP_INTERNAL_SERVER_ERROR;
             }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message