Does cURL NOBODY actually fetch the body?

前端 未结 3 2080
暖寄归人
暖寄归人 2020-12-20 06:40

I\'m not sure if this function in CURL just strips the response body out but still load it fully. Is that true? I don\'t want to waste bandwidth, I just want the headers.

3条回答
  •  不知归路
    2020-12-20 06:49

    It will only load the headers, it won't load the body of the requested document.

提交回复
热议问题