View Full Version : [SOLVED] anyone familiar with libcurl?

December 1st, 2008, 10:56 PM
im trying to get the http status from some pages....
now , as I noticed, libcurl downloads the page / pdf / anything in the link before providing the status , this is not good , since , in case I want to test if a link which includes a 50MB pdf is still valid , then I need to wait too much time...
any idea how to tell it not to download stuff , and just return the status?

I looked at the API , didnt find anything useful , so I guess im missing something here.


December 1st, 2008, 11:01 PM


December 1st, 2008, 11:25 PM
this exactly how I get the response , the problem is , as I said , it first downloads the page (direct link) , and then provide the response.. I dont want to have this behavior.

December 2nd, 2008, 12:45 AM
It doesn't have any http HEAD capabilities?