[asterisk-bugs] [JIRA] (ASTERISK-28613) func_curl: CURLOPT cannot set Content-Type header

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Dec 12 05:46:36 CST 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-28613:
-------------------------------------

    Target Release Version/s: 16.7.0

> func_curl: CURLOPT cannot set Content-Type header
> -------------------------------------------------
>
>                 Key: ASTERISK-28613
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28613
>             Project: Asterisk
>          Issue Type: New Feature
>      Security Level: None
>          Components: Functions/func_curl
>    Affects Versions: 13.29.1
>            Reporter: Martin Tomec
>            Assignee: Martin Tomec
>            Severity: Minor
>      Target Release: 13.30.0, 16.7.0
>
>
> For sending JSON requests, CURLOPT should be able to set Content-Type header. There is demand for it:
> https://asteriskfaqs.org/2018/10/04/asterisk-users/curl-to-post-applicationjson.html
> I have prepared patch for http headers parameter setting.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list