summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pacredir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacredir.c b/pacredir.c
index 01d37b4..c034361 100644
--- a/pacredir.c
+++ b/pacredir.c
@@ -393,7 +393,7 @@ static int ahc_echo(void * cls,
basename = strstr(basename, "/") + 1;
/* unexpected method */
- if (strcmp(method, "GET") != 0)
+ if (strcmp(method, "GET") != 0 && strcmp(method, "HEAD") != 0)
return MHD_NO;
/* The first time only the headers are valid,