bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] how to prevnt wget from following 302 Location header?


From: Darshit Shah
Subject: Re: [Bug-wget] how to prevnt wget from following 302 Location header?
Date: Thu, 08 Aug 2013 11:51:53 +0005

I have searched in the wget's man page for info how to prevent wget from follow after 302 Location headers and I didn't find any appropriate material. has someone here any idea?

Why would you not want to follow the 302 Header? In case you simply want the location, use the --spider mode which will not download the file. You could couple that with the -S which will print the Server Headers on stdout. 

However, there is no way (currently) to prevent wget from following a 302 Header. 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]