X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;h=3a33840b6f66ea25f23ab03622da19408189f83f;hp=25ad4740f8c35f2419a77d2e2648550162879ce0;hb=550457bcade62a8f072ce0d50d0d85bcb60d22bb;hpb=8dc52c6eaa1993d140a52bc0627e436efd9870d0 diff --git a/src/http.c b/src/http.c index 25ad4740..3a33840b 100644 --- a/src/http.c +++ b/src/http.c @@ -1766,12 +1766,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy, if (head_only) meth = "HEAD"; else if (opt.method) - { - char *q; - for (q = opt.method; *q; ++q) - *q = c_toupper (*q); - meth = opt.method; - } + meth = opt.method; /* Use the full path, i.e. one that includes the leading slash and the query string. E.g. if u->path is "foo/bar" and u->query is "param=value", full_path will be "/foo/bar?param=value". */