[OpenSIPS-Devel] [OpenSIPS/opensips] 91d7e7: rest_client: Fix a rest_post() regression bug
Liviu Chircu
liviu at opensips.org
Fri Jan 5 11:02:10 EST 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 91d7e7f4bc44857b6649dcbfd48b0ad9decf902c
https://github.com/OpenSIPS/opensips/commit/91d7e7f4bc44857b6649dcbfd48b0ad9decf902c
Author: Liviu Chircu <liviu at opensips.org>
Date: 2018-01-05 (Fri, 05 Jan 2018)
Changed paths:
M modules/rest_client/rest_methods.c
Log Message:
-----------
rest_client: Fix a rest_post() regression bug
Commit c549e6ec added an unnecessary libcurl option which caused
the HTTP headers to be logged into the output body pseudo-variable
alongside the request body when performing a rest_post().
This patch disables the above-mentioned libcurl option (CURLOPT_HEADER).
Reported by @goharahmed on GitHub.
Fixes #1247.
More information about the Devel
mailing list