«
»

HTTP headers

October 13th, 2005 by George Notaras

Ever had the need to see what headers a remote web site sends back to you when you request a page with your browser?

You can use curl like this:

# curl --dump-header headers.txt http://www.example.com/ 1> /dev/null

The HTTP headers are saved in the headers.txt file.

The HTTP headers by George Notaras, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Terms and conditions beyond the scope of this license may be available at www.g-loaded.eu.

Related Articles

Tags: , ,

Bookmark and Share

One Response to “HTTP headers”

  1. agorf Says :

    Although I prefer cURL, Wget has something similar with the -S and --save-headers options.

Comments are automatically disabled after a certain period of time. Further discussion about the published content is still possible though in the G-Loaded Forums.