Lines Matching refs:http
2 * HTTP wrapper for libcurl
28 #include "http-utils.h"
1360 wpa_printf(MSG_DEBUG, "Start HTTP client: address=%s ca_fname=%s "
1428 * 'foo' provided via HTTP are different.
1509 long http = 0;
1534 curl_easy_getinfo(ctx->curl, CURLINFO_RESPONSE_CODE, &http);
1535 wpa_printf(MSG_DEBUG, "SOAP: Server response code %ld", http);
1536 if (http != 200) {
1537 ctx->last_err = "HTTP download failed";
1538 wpa_printf(MSG_INFO, "HTTP download failed - code %ld", http);
1622 long http = 0;
1663 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &http);
1664 wpa_printf(MSG_DEBUG, "curl: Server response code %ld", http);
1665 if (http != 200) {
1666 ctx->last_err = "HTTP download failed";
1667 wpa_printf(MSG_INFO, "HTTP download failed - code %ld", http);
1687 long http = 0;
1694 wpa_printf(MSG_DEBUG, "curl: HTTP POST to %s", url);
1722 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &http);
1723 wpa_printf(MSG_DEBUG, "curl: Server response code %ld", http);
1724 if (http != 200) {
1725 ctx->last_err = "HTTP POST failed";
1726 wpa_printf(MSG_INFO, "HTTP POST failed - code %ld", http);