How do I write a script that sends a get request to a web page and returns nicely formatted http headers?
feedback
|
|
try this nasty hack:
| |||
|
feedback
|
|
There are quite a few modules in many different languages that will retrieve HTTP headers for you.
etc, etc. | |||
|
feedback
|
|
curl has support to view the headers when you're downloading, or you can use the | |||
|
feedback
|
|
If you just want to view the headers.. (Not programatically) just use [live http headers][1] plugin for mozilla firefox. https://addons.mozilla.org/en-US/firefox/addon/3829 | |||||||
feedback
|
|
This bash function will take an URL + method, or Server + path + method + port. If you use "HEAD" method, it will return the headers, if you use GET, it will return all headers and the whole reply. Supports https through openssl.
| |||
|
feedback
|