<p>Martin Tomec <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/13168">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">func_curl.c: Support custom http headers<br><br>When user wants to send json data, the default Content-Type header<br>is incorect (application/x-www-form-urlencoded). This patch allows<br>to set any custom headers so the Content-Type header can be<br>overriden. User can set multiple headers by multiple calls of<br>curlopt(). This approach is not consistent with other parameters,<br>but is more readable in dialplan than one call with multiple<br>headers.<br><br>ASTERISK-28613<br><br>Change-Id: I4dd68c3f4e25362ef941d73a3861f58348dcfbf9<br>---<br>A doc/CHANGES-staging/func_curl_headers.txt<br>M funcs/func_curl.c<br>2 files changed, 35 insertions(+), 8 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/68/13168/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/13168">change 13168</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/13168"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I4dd68c3f4e25362ef941d73a3861f58348dcfbf9 </div>
<div style="display:none"> Gerrit-Change-Number: 13168 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Martin Tomec <tomec.martin@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>