[webtools] Header fixed about User-Agent
[scilab.git] / scilab / modules / webtools / sci_gateway / cpp / sci_http_delete.cpp
index 83170f2..a6d8cbd 100644 (file)
@@ -60,6 +60,8 @@ types::Function::ReturnValue sci_http_delete(types::typed_list &in, types::optio
         return types::Function::Error;
     }
 
+    sciCurlObj->setCommonHeaders(curl);
+
     char* pcURL = wide_string_to_UTF8(in[0]->getAs<types::String>()->get(0));
     curl_easy_setopt(curl, CURLOPT_URL, pcURL);
     FREE(pcURL);