Rev 5043 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5043 | Rev 5535 | ||
---|---|---|---|
Line 680... | Line 680... | ||
680 | /*TODO : Always clear the flags for the handle here*/ |
680 | /*TODO : Always clear the flags for the handle here*/ |
Line 681... | Line 681... | ||
681 | 681 | ||
682 | if(fetch->post_urlenc) |
682 | if(fetch->post_urlenc) |
683 | { |
683 | { |
684 | LOG(("http_post on %s with headers: %s", zz, fetch->post_urlenc)); |
684 | LOG(("http_post on %s with headers: %s", zz, fetch->post_urlenc)); |
Line 685... | Line 685... | ||
685 | wererat = http_post(zz, NULL, "application/x-www-form-urlencoded", strlen(fetch->post_urlenc)); |
685 | wererat = http_post(zz, NULL, NULL, NULL, "application/x-www-form-urlencoded", strlen(fetch->post_urlenc)); |
686 | 686 | ||
687 | if(wererat == 0) |
687 | if(wererat == 0) |
688 | { |
688 | { |
Line 697... | Line 697... | ||
697 | } |
697 | } |
698 | } |
698 | } |
699 | else /* GET Request */ |
699 | else /* GET Request */ |
700 | { |
700 | { |
701 | LOG(("http_get on URL : %s", zz)); |
701 | LOG(("http_get on URL : %s", zz)); |
702 | wererat = http_get(zz, NULL); /* Initiates the GET on the handle we want to initiate for */ |
702 | wererat = http_get(zz, NULL, NULL, NULL); /* Initiates the GET on the handle we want to initiate for */ |
Line 703... | Line 703... | ||
703 | 703 | ||
704 | if(wererat == 0) /* http_get failed. Something wrong. Can't do anything here */ |
704 | if(wererat == 0) /* http_get failed. Something wrong. Can't do anything here */ |
705 | { |
705 | { |
706 | DBG("Error. http_get failed. Aborting fetch.\n"); |
706 | DBG("Error. http_get failed. Aborting fetch.\n"); |