提交 8f19976a authored 作者: Rupa Schomaker's avatar Rupa Schomaker

don't print response code for plain output, if you want

status use headers or json


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14114 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 8e6dc296
......@@ -339,7 +339,6 @@ SWITCH_STANDARD_API(curl_function)
if (do_json) {
stream->write_function(stream, "%s", print_json(pool, http_data));
} else {
stream->write_function(stream, "%ld\n", http_data->http_response_code);
if(do_headers) {
slist = http_data->headers;
while(slist) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论