[Libwebsockets] client / method=HEAD
andy at warmcat.com
Sat Mar 11 22:29:59 CET 2017
On March 12, 2017 2:14:46 AM GMT+08:00, Joel Winarske <joel.winarske at gmail.com> wrote:
>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.
More information about the Libwebsockets