aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/shot/e_mod_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-02-08 13:26:08 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-02-08 13:26:08 +0000
commitb0b7bea223d7ae46cb5a9c1aa43df84293fb392a (patch)
treec44fd2ee1f9ef5a57dddc234fe527a8a7e0023c4 /src/modules/shot/e_mod_main.c
parent5aae4607ead618c2cf80d8b5d6dc0af191070415 (diff)
downloadenlightenment-b0b7bea223d7ae46cb5a9c1aa43df84293fb392a.tar.gz
enlightenment-b0b7bea223d7ae46cb5a9c1aa43df84293fb392a.tar.xz
enlightenment-b0b7bea223d7ae46cb5a9c1aa43df84293fb392a.zip
use http 1.0 for posts!
SVN revision: 67760
Diffstat (limited to 'src/modules/shot/e_mod_main.c')
-rw-r--r--src/modules/shot/e_mod_main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/shot/e_mod_main.c b/src/modules/shot/e_mod_main.c
index 2313f8a2e..3316be54c 100644
--- a/src/modules/shot/e_mod_main.c
+++ b/src/modules/shot/e_mod_main.c
@@ -453,6 +453,10 @@ _win_share_cb(void *data __UNUSED__, void *data2 __UNUSED__)
(ECORE_CON_EVENT_URL_COMPLETE, _upload_complete_cb, NULL));
url_up = ecore_con_url_new("http://www.enlightenment.org/shot.php");
+ // why use http 1.1? proxies like squid don't handle 1.1 posts with expect
+ // like curl uses by default, so go to 1.0 and this all works dandily
+ // out of the box
+ ecore_con_url_http_version_set(url_up, ECORE_CON_URL_HTTP_VERSION_1_0);
ecore_con_url_post(url_up, fdata, fsize, "application/x-e-shot");
dia = e_dialog_new(scon, "E", "_e_shot_share");