$ wget --debug http://www.cpan.org/authors/01mailrc.txt.gz >foo.gz DEBUG output created by Wget 1.19.1 on linux-gnu. Reading HSTS entries from /home/web/.wget-hsts URI encoding = ‘UTF-8’ Converted file name '01mailrc.txt.gz' (UTF-8) -> '01mailrc.txt.gz' (UTF-8) --2018-03-01 11:02:48-- http://www.cpan.org/authors/01mailrc.txt.gz Resolving www.cpan.org (www.cpan.org)... 151.101.194.49, 151.101.130.49, 151.101.66.49, ... Caching www.cpan.org => 151.101.194.49 151.101.130.49 151.101.66.49 151.101.2.49 2a04:4e42:600::561 2a04:4e42:400::561 2a04:4e42:200::561 2a04:4e42::561 Connecting to www.cpan.org (www.cpan.org)|151.101.194.49|:80... connected. Created socket 3. Releasing 0x00005625bd526e10 (new refcount 1). ---request begin--- GET /authors/01mailrc.txt.gz HTTP/1.1 User-Agent: Wget/1.19.1 (linux-gnu) Accept: */* Accept-Encoding: identity Host: www.cpan.org Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... ---response begin--- HTTP/1.0 403 Forbidden: header 'Content-Type' value denied Content-type: text/html; charset="iso-8859-1" ---response end--- 403 Forbidden: header 'Content-Type' value denied Registered socket 3 for persistent reuse. URI content encoding = ‘"iso-8859-1"’ ] done. 2018-03-01 11:02:48 ERROR 403: Forbidden: header 'Content-Type' value denied.