forked from enlightenment/enlightenment
parent
5aae4607ea
commit
b0b7bea223
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue