diff --git a/main.c b/main.c index 44246e9..c223826 100644 --- a/main.c +++ b/main.c @@ -233,7 +233,7 @@ static int connection_handler(void * cls, void **ptr) { struct ConnectionState *connstate; - if (0 != strcmp(method, "GET")) { + if (0 != strcmp(method, "GET") && 0 != strcmp(method, "HEAD")) { LOG(LVL_WARN, "Unexpected method: %s.", method); return MHD_NO; }