[SR-Users] http_client interface

Fred Posner fred at palner.com
Thu Jan 16 23:11:23 CET 2020

On 1/16/20 4:56 PM, Daniel-Constantin Mierla wrote:
> The libcurl seems to offer an option for that as well:
>   - https://curl.haxx.se/libcurl/c/CURLOPT_INTERFACE.html
> So it can be a small patch to the module and support it in the future.
> If you look for a solution on current stable, maybe one of the embedded
> scripting languages can help, you can execute inline a small script in
> Lua/Python/Perl with app_lua_run() & equivalents. In the past I used the
> http client from lua to do more complex http api queries (e.g., with
> specific headers, ...).
> Cheers,
> Daniel

Thank you Daniel,

I implemented a work around (little proxy in go) but would love if the
option was added for the future.

Fred Posner
fred at qxork.com
Direct/SMS: +1 (336) 439-3733

Need Fred? Call Fred. 336-HEY-FRED
Matrix: @fred:matrix.lod.com

More information about the sr-users mailing list