add doc/*/scripting/builtins/libnetwork.md

This commit is contained in:
MihailRis
2024-11-28 18:09:12 +03:00
parent ca83dcf9a7
commit 95689b1115
5 changed files with 191 additions and 0 deletions
+1
View File
@@ -99,6 +99,7 @@ public:
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buffer);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, request.followLocation);
curl_easy_setopt(curl, CURLOPT_USERAGENT, "curl");
if (request.maxSize == 0) {
curl_easy_setopt(
curl, CURLOPT_MAXFILESIZE, std::numeric_limits<long>::max()