[SR-Users] How to test xhttp with wget or curl

mayamatakeshi mayamatakeshi at gmail.com
Thu Jan 13 16:27:54 CET 2011


On Fri, Jan 14, 2011 at 12:24 AM, Mikko Lehto <mikko.lehto at setera.fi> wrote:

> Hi
>
> I think you are not succeeding because of missing Content-Length header.
>
> Try to add Content-Length to your HTTP request or
> you can use tcp_accept_no_cl=no in sip-router.cfg.
>

Thanks. You are right. This works too:

wget --header="Content-Length: 0" http://192.168.2.105/test

br,
takeshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110114/212d5fdc/attachment.htm>


More information about the sr-users mailing list