[EMAIL PROTECTED] wrote:

> Why the line 188 in client.c
>     method = xstrdup("PUT");
> is commented? The PUT method is native for -P option.

Mainly because the -P option is misnamed. The purpose of -P is not
really to make a PUT request, it is to provide a request body to the
request. -m is for selecting which method the client command uses. There
are a number of other methods where a request body is needed (POST is a
obvious example).

---
Henrik Nordstrom
Spare time Squid hacker

Reply via email to