mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
set uniq header flag
This commit is contained in:
parent
fbbbd06e28
commit
273aa89423
@ -2161,6 +2161,7 @@ SWITCH_STANDARD_APP(httapi_function)
|
||||
if (!zstr(url) && switch_stristr("://", url)) {
|
||||
if (!params) {
|
||||
switch_event_create(¶ms, SWITCH_EVENT_CLONE);
|
||||
params->flags |= EF_UNIQ_HEADERS;
|
||||
}
|
||||
switch_event_add_header_string(params, SWITCH_STACK_BOTTOM, "url", url);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user