Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric
Differential Revision: https://phab.enlightenment.org/D3289
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
{
url_test *info = data;
Ecore_Con_Event_Url_Complete *ev = event_info;
+ int status;
printf("Total downloaded bytes = %d\n",
ecore_con_url_received_bytes_get(ev->url_con));
if (info->_tmpfd)
{
+ status = ecore_con_url_status_code_get(ev->url_con);
+ fail_if(status != 220);
_free_url_test(info);
ecore_con_url_free(ev->url_con);
}