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 du...@apache.org on 2008/01/24 18:38:01 UTC
svn commit: r614934 - in /webservices/axis2/trunk/c/src/core/transport/http:
common/http_worker.c sender/libcurl/axis2_libcurl.c
Author: dumindu
Date: Thu Jan 24 09:37:49 2008
New Revision: 614934
URL: http://svn.apache.org/viewvc?rev=614934&view=rev
Log:
Fixed a few glitches in http transport.
Modified:
webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c
webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c
Modified: webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c?rev=614934&r1=614933&r2=614934&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/common/http_worker.c Thu Jan 24 09:37:49 2008
@@ -253,17 +253,17 @@
(simple_request, env, AXIS2_HTTP_HEADER_SOAP_ACTION), env);
soap_action_str = axutil_string_create(env, soap_action);
}
- if ((0 ==
+ if (0 ==
axutil_strcasecmp(axis2_http_request_line_get_method
(axis2_http_simple_request_get_request_line
- (simple_request, env), env), AXIS2_HTTP_GET)))
+ (simple_request, env), env), AXIS2_HTTP_GET))
{
is_get = AXIS2_TRUE;
}
- else if ((0 ==
+ else if (0 ==
axutil_strcasecmp(axis2_http_request_line_get_method
(axis2_http_simple_request_get_request_line
- (simple_request, env), env), AXIS2_HTTP_HEAD)))
+ (simple_request, env), env), AXIS2_HTTP_HEAD))
{
is_head = AXIS2_TRUE;
}
Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c?rev=614934&r1=614933&r2=614934&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/libcurl/axis2_libcurl.c Thu Jan 24 09:37:49 2008
@@ -233,7 +233,7 @@
axiom_output_write_xml_version_encoding (om_output, env);
}
- if (!send_via_get)
+ if (!send_via_get && !send_via_head)
{
xml_writer = axiom_output_get_xml_writer(om_output, env);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org