note 69115 modified in function.curl-setopt by danbrown

From: Date: Sun, 17 May 2009 17:29:33 +0000
Subject: note 69115 modified in function.curl-setopt by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154989@lists.php.net to get a copy of this message
Note that if you want to use a proxy and use it as a _cache_, you'll have to do: <?php curl_setopt($ch, CURLOPT_HTTPHEADER, array("Pragma: ")); ?> else by default Curl puts a "Pragma: no-cache" header in and thus force cache misses for all requests. --was-- Note that if you want to use a proxy and use it as a _cache_, you'll have to do: curl_setopt($ch, CURLOPT_HTTPHEADER, array("Pragma: ")); else by default Curl puts a "Pragma: no-cache" header in and thus force cache misses for all requests. http://php.net/manual/en/function.curl-setopt.php

« previous php.notes (#154989) next »