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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Nov 20 10:00:32 CST 2019


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248796#comment-248796 ] 

Friendly Automation commented on ASTERISK-28613:
------------------------------------------------

Change 13183 merged by Friendly Automation:
func_curl.c: Support custom http headers

[https://gerrit.asterisk.org/c/asterisk/+/13183|https://gerrit.asterisk.org/c/asterisk/+/13183]

> 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
>
> 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