... curl_easy_setopt(handle, CURLOPT_NOBODY, 1); //不需求body ... 发现,当设置CURLOPT_NOBODY,libcurl会默认设置获取方式为HEAD方式,如果把
確定! 回上一頁