提交 d6eec9ea authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-4075

上级 153a3b3d
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
<!-- <param name="cookie-file" value="/tmp/cookie-mod_xml_curl.txt"/> --> <!-- <param name="cookie-file" value="/tmp/cookie-mod_xml_curl.txt"/> -->
<!-- one or more of these imply you want to pick the exact variables that are transmitted --> <!-- one or more of these imply you want to pick the exact variables that are transmitted -->
<!--<param name="enable-post-var" value="Unique-ID"/>--> <!--<param name="enable-post-var" value="Caller-Unique-ID"/>-->
</params> </params>
</profile> </profile>
......
...@@ -319,7 +319,7 @@ user-agent : <string> mod_httapi/1.0 User Agent header value. ...@@ -319,7 +319,7 @@ user-agent : <string> mod_httapi/1.0 User Agent header value.
<permissions>: * = default <permissions>: * = default
<permission name="" value=""> <permission name="" value="true">
*set-params : <params> tag can be parsed for session params. *set-params : <params> tag can be parsed for session params.
set-vars : <variables> tag can be parsed to set channel vars. set-vars : <variables> tag can be parsed to set channel vars.
......
...@@ -1498,7 +1498,7 @@ static switch_status_t httapi_sync(client_t *client) ...@@ -1498,7 +1498,7 @@ static switch_status_t httapi_sync(client_t *client)
switch_curl_easy_setopt(curl_handle, CURLOPT_HTTPHEADER, headers); switch_curl_easy_setopt(curl_handle, CURLOPT_HTTPHEADER, headers);
if (method != NULL && strcasecmp(method, "get") && strcasecmp(method, "post")) { if (!zstr(method)) {
switch_curl_easy_setopt(curl_handle, CURLOPT_CUSTOMREQUEST, method); switch_curl_easy_setopt(curl_handle, CURLOPT_CUSTOMREQUEST, method);
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论