php - Does cURL NOBODY actually fetch the body? -


i'm not sure if function in curl strips response body out still load fully. true? don't want waste bandwidth, want headers.

curlopt_nobody send head request web server. server should respond http headers , no body content.

http://www.w3.org/protocols/rfc2616/rfc2616-sec9.html

the head method identical except server must not return message-body in response.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -