Merge pull request #1953 from geekpi/master

Linux FAQs with Answers--How to disable HTTP redirect in wget
This commit is contained in:
geekpi 2014-11-06 19:46:12 +08:00
commit 65340154e4

View File

@ -1,3 +1,5 @@
Translating-------geekpi
Linux FAQs with Answers--How to disable HTTP redirect in wget Linux FAQs with Answers--How to disable HTTP redirect in wget
================================================================================ ================================================================================
> **Question**: When I run wget to fetch a URL X which is redirected to another URL Y, wget, by default, goes fetch URL Y automatically. However, I would like to force wget to only fetch the original URL X without following the redirection. How can I stop wget from following a redirected URL? > **Question**: When I run wget to fetch a URL X which is redirected to another URL Y, wget, by default, goes fetch URL Y automatically. However, I would like to force wget to only fetch the original URL X without following the redirection. How can I stop wget from following a redirected URL?