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

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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -