Lines Matching defs:http
2 * HTTP wrapper for libcurl
28 #include "http-utils.h"
1261 wpa_printf(MSG_DEBUG, "Start HTTP client: address=%s ca_fname=%s "
1319 * 'foo' provided via HTTP are different.
1400 long http = 0;
1425 curl_easy_getinfo(ctx->curl, CURLINFO_RESPONSE_CODE, &http);
1426 wpa_printf(MSG_DEBUG, "SOAP: Server response code %ld", http);
1427 if (http != 200) {
1428 ctx->last_err = "HTTP download failed";
1429 wpa_printf(MSG_INFO, "HTTP download failed - code %ld", http);
1513 long http = 0;
1554 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &http);
1555 wpa_printf(MSG_DEBUG, "curl: Server response code %ld", http);
1556 if (http != 200) {
1557 ctx->last_err = "HTTP download failed";
1558 wpa_printf(MSG_INFO, "HTTP download failed - code %ld", http);
1578 long http = 0;
1585 wpa_printf(MSG_DEBUG, "curl: HTTP POST to %s", url);
1613 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &http);
1614 wpa_printf(MSG_DEBUG, "curl: Server response code %ld", http);
1615 if (http != 200) {
1616 ctx->last_err = "HTTP POST failed";
1617 wpa_printf(MSG_INFO, "HTTP POST failed - code %ld", http);