Hi,
It looks like this is a bug. I created pull request with a fix.
With kind regards,
Jurijs
On Thu, Jun 16, 2016 at 1:05 PM, Jurijs Ivolga <jurijs.ivolga(a)gmail.com>
wrote:
Hi All,
I tried today new module http_client. I just made GET request using
http_client_query in following way:
http_client_query("http://cool.api.com", "$var(result)");
It is working, but I can't see User-Agent in request. Below you can find
my module options:
modparam("http_client", "useragent", "kamailio")
modparam("http_client", "connection_timeout", 1)
Is it a bug, or am I doing something wrong?
Thank you!
Jurijs