This is a very small and basic command line application used to get specific HTTP information about any URL.
I created it mainly for myself since on my job as a webmaster, SEO and web developer I often need to get such info from different URLs.
It delivers you following information:
- The time it took to answer, in Milliseconds
- The HTTP Status
- The HTTP Protocol
- If the response is compressed
- The headers
It is pretty easy to use. It only has two flags:
httpscan -u https://url-to-scan.com -n number-of-times-to-request
You need to pass any URL (-u), but the second parameter it is not required. If given, it will perform the request the number of times that you want. It will use this many requests to calculate the average time the URL took to answer, showing this time to you.
See or download the code here https://github.com/antsanchez/httpscan
If you want to use it, you will have to compile it for your system using the go compiler. More info about Go: https://golang.org/