<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the patch for utils module might be trivial for such extension,
    however, my way to deal with http client needs was to use an
    embedded lua script. It was always fast and I had all the options I
    needed for setting the body of the request and handling the
    response. Lua has http lib with support for https as well. This can
    be an option for the moment. Perhaps other embedded interpreters can
    be used if you are more familiar with any of the alternatives (e.g.,
    perl, python, C# ...).<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 15/07/14 22:03, Jonathan Hunter
      wrote:<br>
    </div>
    <blockquote cite="mid:DUB127-W15AE724714478763A93B6EBDF60@phx.gbl"
      type="cite">
      <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
      <div dir="ltr">Hi Juha,
        <div><br>
        </div>
        <div>Thank you for the response.</div>
        <div><br>
        </div>
        <div>So I presume there isn't any other option for this
          functionality at present?</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>Jon<br>
          <br>
          <div>> Date: Tue, 15 Jul 2014 20:24:25 +0300<br>
            > To: <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            > From: <a class="moz-txt-link-abbreviated" href="mailto:jh@tutpro.com">jh@tutpro.com</a><br>
            > Subject: [SR-Users] http_query results question<br>
            > <br>
            > Jonathan Hunter writes:<br>
            > <br>
            > > I am now using version 4.1 on Centos 6.5, and I am
            using the http_query, which I'm aware records in the results
            the first line of the response.<br>
            > > Can you select the result to be recorded depending
            on the line in the<br>
            > > response, for example if a number is returned only
            in line 4, can this<br>
            > > be extracted from a 200 ok response using this
            function?<br>
            > <br>
            > that kind of functionality is not currently supported
            by http_query.<br>
            > <br>
            > -- juha<br>
            > <br>
            > _______________________________________________<br>
            > SIP Express Router (SER) and Kamailio (OpenSER) -
            sr-users mailing list<br>
            > <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            >
            <a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>