Save the headers sent by the HTTP server to the file, preceding the actual contents, with an empty line as the separator:
wget --save-headers http://www.cyberciti.biz/ vi index.htmlRead answer to: "wget Command: Download Compressed File By Sending gzip Headers"











Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum.