> On 16 Jun 2016, at 12:05, Jurijs Ivolga <jurijs.ivo...@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 <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?

That function works like the old http_query in utils. I should propably 
document that it’s limited.
Use the functions that use the connection structure to get full functionality.

/O
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to