> I also noted that with --method=head, --spider is automatically enabled
> (main.c:1405), which
> produces some funny messages:
>
> Yes, that is a quirk. We enable spider when opt.method is set to HEAD.
This was done so as to reuse the old code that handles HEAD requests
through --spider.
I was planning on adding this in the docs that, for the moment,
--method=HEAD is simply an alias to --spider.

The correct way to fix this would be to separate the logic for handling
HEAD requests from that for --spider functionality and then reuse the code.

-- 
Thanking You,
Darshit Shah

Reply via email to