axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimu...@apache.org
Subject svn commit: r742135 - /webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
Date Sun, 08 Feb 2009 18:06:53 GMT
Author: dimuthu
Date: Sun Feb  8 18:06:53 2009
New Revision: 742135

URL: http://svn.apache.org/viewvc?rev=742135&view=rev
Log:
fixing AXIS2C-1343

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c?rev=742135&r1=742134&r2=742135&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c Sun Feb  8 18:06:53
2009
@@ -540,10 +540,15 @@
         if (!send_via_put)
         {
             /* HTTP POST */
+            axis2_char_t *path_with_query = NULL;
+
+            path_with_query = axutil_strcat(env, axutil_url_get_path (url, env),
+                                                 axutil_url_get_query(url, env), NULL);
             request_line =
                 axis2_http_request_line_create (env, AXIS2_HTTP_POST,
-                                                axutil_url_get_path (url, env),
+                                                path_with_query,
                                                 sender->http_version);
+            AXIS2_FREE(env->allocator, path_with_query);
         }
         else
         {



Mime
View raw message