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 di...@apache.org on 2009/02/08 19:06:53 UTC

svn commit: r742135 - /webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c

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
         {