Index: src/zabbix_server/httppoller/httptest.c =================================================================== --- src/zabbix_server/httppoller/httptest.c (revision 38935) +++ src/zabbix_server/httppoller/httptest.c (working copy) @@ -326,6 +326,8 @@ if (CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_PROXY, httptest->httptest.http_proxy)) || CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_COOKIEFILE, "")) || + CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_HEADER, 1L)) || + CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_VERBOSE, 1L)) || CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_USERAGENT, httptest->httptest.agent)) || CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_FOLLOWLOCATION, 1L)) || CURLE_OK != (err = curl_easy_setopt(easyhandle, CURLOPT_WRITEFUNCTION, WRITEFUNCTION2)) ||