Unix / Linux: Wget Save The Http Headers Command

by on October 28, 2012 · 0 comments· LAST UPDATED October 28, 2012

Fig.01: wget saving the http headers

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.html
Tweet itFacebook itG+ itFound an error/typo on this page?

Examples and usage: wget Command: Download Compressed File By Sending gzip Headers

{ 0 comments… add one now }

Leave a Comment

Tagged as: