From 986b0a2c745ad91ae692a476b11f7e9f9aa1391b Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Thu, 6 Jan 2011 06:33:25 +0000 Subject: [PATCH] ok rafael/rui - i've deprecated send and made a get and post call that will explicitly do a get or a post. send is still there (deprecated) and it just does what it did before - it guesses effectively. please comment. :) SVN revision: 55926 --- src/e_mod_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/e_mod_main.c b/src/e_mod_main.c index 845067c..a9f659f 100644 --- a/src/e_mod_main.c +++ b/src/e_mod_main.c @@ -216,7 +216,7 @@ _url_data_send(Url_Data *dd, const char *url) ecore_con_url_url_set(dd->con_url, url); - return ecore_con_url_send(dd->con_url, NULL, 0, NULL); + return ecore_con_url_get(dd->con_url, NULL, 0, NULL); } static Eina_Bool @@ -1133,7 +1133,7 @@ _action_upload(Evry_Action *act) /* strip 'Content-Type:' == 14 */ snprintf(buf, i-14, "%s", ud->data+14); - ecore_con_url_send(ud->dd->con_url, ud->data+i, ud->size-i, buf); + ecore_con_url_post(ud->dd->con_url, ud->data+i, ud->size-i, buf); } /* ecore_con_url_http_post_send(ud->dd->con_url, post); */