improve http support

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6413 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-11-27 19:25:16 +00:00
parent f2e9457936
commit fc0dc1f9fb
6 changed files with 261 additions and 21 deletions
+2
View File
@@ -1566,6 +1566,8 @@ SWITCH_STANDARD_API(pa_cmd)
stream->write_function(stream, "</pre>");
#endif
stream->write_function(stream, "Content-type: text/html\n\n");
wcmd = switch_str_nil(switch_event_get_header(stream->event, "wcmd"));
action = switch_event_get_header(stream->event, "action");