[Libwebsockets] client / method=HEAD

Joel Winarske joel.winarske at gmail.com
Sun Mar 12 15:27:33 CET 2017


Just for http client.  I see it for being used as a technique to test the
internet connection.


On Sat, Mar 11, 2017 at 1:30 PM Andy Green <andy at warmcat.com> wrote:

>
>
> On March 12, 2017 2:14:46 AM GMT+08:00, Joel Winarske <
> joel.winarske at gmail.com> wrote:
> >Hi Andy,
> >
> >Is method HEAD expected to work with client?
>
> It looks like it should issue what it would for GET with HEAD, if you set
> the client connect info .method to "HEAD".  That's what HEAD is supposed to
> do on client.
>
> Are you really asking does lws server part understand HEAD?  It knows it
> is a valid method and can parse it, but it doesn't respond to it using HEAD
> semantics in the fileserving part, since nobody has asked for it.
>
> -Andy
>
> >
> >Joel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20170312/d351b6fb/attachment-0002.html>


More information about the Libwebsockets mailing list