≡ Menu

Unix / Linux: Wget Save The Http Headers Command

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 itGoogle+ itFound an error/typo on this page?

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

{ 0 comments… add one }

Leave a Comment