curl-library
Only retrieve the headers of a GET reply and return?
From: Mohammad_Alsaleh <msal_at_tormail.org>
Date: Thu, 11 Apr 2013 22:37:09 +0300
Date: Thu, 11 Apr 2013 22:37:09 +0300
Hello.
Is there a simple clean way to only retrieve the headers of a GET reply
and return without retrieving the data.
Maybe something similar to CURLOPT_NOBODY but with GET.
I need this because some servers send an empty reply or never reply to
HEAD. And I need to know some info (included in GET reply headers)
before retrieving/writing any data.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-11