<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 16 Jun 2016, at 12:05, Jurijs Ivolga <<a href="mailto:jurijs.ivolga@gmail.com" class="">jurijs.ivolga@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi All,<br class=""><br class=""></div>I tried today new module http_client. I just made GET request using http_client_query in following way:<br class=""><br class="">http_client_query("<a href="http://cool.api.com/" class="">http://cool.api.com</a>", "$var(result)"); <br class=""><div class=""><div class=""><br class=""></div><div class="">It is working, but I can't see User-Agent in request. Below you can find my module options:<br class=""><br class="">modparam("http_client", "useragent", "kamailio")<br class="">modparam("http_client", "connection_timeout", 1)<br class=""><br class=""></div><div class="">Is it a bug, or am I doing something wrong?<br class=""></div></div></div></div></blockquote></div><br class=""><div class="">That function works like the old http_query in utils. I should propably document that it’s limited.</div><div class="">Use the functions that use the connection structure to get full functionality.</div><div class=""><br class=""></div><div class="">/O</div></body></html>