From b0b7bea223d7ae46cb5a9c1aa43df84293fb392a Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Wed, 8 Feb 2012 13:26:08 +0000 Subject: [PATCH] use http 1.0 for posts! SVN revision: 67760 --- src/modules/shot/e_mod_main.c | 4 ++++ 1 file changed, 4 insertions(+) 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");