[sr-dev] git:master:f7f68c57: http_client: http_client_request (api) content-type header support

Wolfgang Kampichler dev at kampichler.info
Fri Apr 9 16:10:51 CEST 2021


Module: kamailio
Branch: master
Commit: f7f68c57e11124bd94ae21a40d11fcab93a8508f
URL: https://github.com/kamailio/kamailio/commit/f7f68c57e11124bd94ae21a40d11fcab93a8508f

Author: Wolfgang Kampichler <dev at kampichler.info>
Committer: Wolfgang Kampichler <dev at kampichler.info>
Date: 2021-03-15T14:13:11+01:00

http_client: http_client_request (api) content-type header support

- new api call including a content-type argument implemented as new
  function - required to resolve geolocation url using POST (#2641)
- Note: not sure if this is the most elegant solution, but it helps
  to avoid backward compatibility issues

---

Modified: src/modules/http_client/curl_api.c
Modified: src/modules/http_client/curl_api.h
Modified: src/modules/http_client/functions.c
Modified: src/modules/http_client/functions.h

---

Diff:  https://github.com/kamailio/kamailio/commit/f7f68c57e11124bd94ae21a40d11fcab93a8508f.diff
Patch: https://github.com/kamailio/kamailio/commit/f7f68c57e11124bd94ae21a40d11fcab93a8508f.patch




More information about the sr-dev mailing list