don't include response code in response data as it has its own var (MODAPP-369)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15591 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d0c16f7ae2
commit
0f9fee1f16
|
@ -288,7 +288,6 @@ SWITCH_STANDARD_APP(curl_app_function)
|
||||||
switch_channel_set_variable(channel, "curl_response_data", print_json(pool, http_data));
|
switch_channel_set_variable(channel, "curl_response_data", print_json(pool, http_data));
|
||||||
} else {
|
} else {
|
||||||
SWITCH_STANDARD_STREAM(stream);
|
SWITCH_STANDARD_STREAM(stream);
|
||||||
stream.write_function(&stream, "%ld\n", http_data->http_response_code);
|
|
||||||
if(do_headers) {
|
if(do_headers) {
|
||||||
slist = http_data->headers;
|
slist = http_data->headers;
|
||||||
while(slist) {
|
while(slist) {
|
||||||
|
|
Loading…
Reference in New Issue