diff options
-rw-r--r-- | it_url.class | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/it_url.class b/it_url.class index e4617a9..e7c50c5 100644 --- a/it_url.class +++ b/it_url.class @@ -216,6 +216,7 @@ static function curl_opts($p=array()) CURLOPT_FOLLOWLOCATION => false, CURLOPT_HTTPHEADER => $headers, CURLOPT_CUSTOMREQUEST => $p['method'] ?: null, + CURLOPT_NOBODY => $p['method'] == 'HEAD', CURLOPT_SAFE_UPLOAD => true, # disable special meaning of @value in POST forms (security) CURLOPT_CAPATH => '/etc/ssl/certs/', |