[OpenSIPS-Devel] [OpenSIPS/opensips] b3e0f6: [MI] Fix missing/wrong Content Type in HTTP respon...

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Jan 4 13:34:20 EST 2019

  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: b3e0f6cc9c3e04f986f00919778b92c1f6839104
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2019-01-04 (Fri, 04 Jan 2019)

  Changed paths:
    M modules/httpd/httpd.c
    M modules/httpd/httpd_load.h
    M modules/httpd/httpd_proc.c
    M modules/mi_http/mi_http.c
    M modules/mi_json/mi_json.c
    M modules/mi_xmlrpc_ng/mi_xmlrpc_http.c
    M modules/pi_http/pi_http.c

  Log Message:
  [MI] Fix missing/wrong Content Type in HTTP responses

When registering a callback to the HTTP server, let it also know what will be the Content Type for the returned data.
Fixes #1509

      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

More information about the Devel mailing list