This commit is contained in:
Anthony Minessale committed 2012-04-05 11:18:18 -05:00
1 parent 153a3b3d96
commit d6eec9ea72
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1498,7 +1498,7 @@ static switch_status_t httapi_sync(client_t *client)
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);
}