--TEST-- client proxy - don't send proxy headers for a standard request --SKIPIF-- --FILE-- setOptions(array( "timeout" => 3, "proxyheader" => array("Hello" => "there!"), )); try { $c->enqueue($r)->send(); } catch (Exception $e) { echo $e; } echo $c->getResponse()->getBody(); unset($r, $client); }); ?> ===DONE=== --EXPECTF-- Test Server on port %d GET / HTTP/1.1 User-Agent: PECL_HTTP/%s PHP/%s libcurl/%s Host: localhost:%d Accept: */* ===DONE===