projects
/
scilab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
[webtools] Header fixed about User-Agent
[scilab.git]
/
scilab
/
modules
/
webtools
/
sci_gateway
/
cpp
/
sci_http_put_post.cpp
diff --git
a/scilab/modules/webtools/sci_gateway/cpp/sci_http_put_post.cpp
b/scilab/modules/webtools/sci_gateway/cpp/sci_http_put_post.cpp
index
3876984
..
7f754e5
100644
(file)
--- a/
scilab/modules/webtools/sci_gateway/cpp/sci_http_put_post.cpp
+++ b/
scilab/modules/webtools/sci_gateway/cpp/sci_http_put_post.cpp
@@
-64,6
+64,8
@@
types::Function::ReturnValue sci_http_put_post(types::typed_list &in, types::opt
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);