开发者

libcurl resume support

开发者 https://www.devze.com 2023-04-05 20:22 出处:网络
Using libcurl, does anybody knows how to determine if a web server supports resuming? I\'m trying to make a开发者_StackOverflow中文版 custom update software which needs to determine if the web server

Using libcurl, does anybody knows how to determine if a web server supports resuming?

I'm trying to make a开发者_StackOverflow中文版 custom update software which needs to determine if the web server supports resuming.

Thanks.


I assume you mean HTTP and then there's really no good way to know until you try it.


you can send a HEAD request firstly with RANGE header, then determine with the response header.

0

精彩评论

暂无评论...
验证码 换一张
取 消