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

Martin Tomec (JIRA) noreply at issues.asterisk.org
Thu Nov 7 08:51:31 CST 2019


Martin Tomec created ASTERISK-28613:
---------------------------------------

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