--TEST-- Test curl option CURLOPT_HEADERFUNCTION --CREDITS-- Mathieu Kooiman Dutch UG, TestFest 2009, Utrecht --DESCRIPTION-- Hit the host identified by PHP_CURL_HTTP_REMOTE_SERVER and determine that the headers are sent to the callback specified for CURLOPT_HEADERFUNCTION. Different test servers specified for PHP_CURL_HTTP_REMOTE_SERVER might return different sets of headers. Just test for HTTP/1.1 200 OK. --SKIPIF-- --FILE-- --EXPECTF-- HTTP/1.1 %d %s