What is the best way to view the HTTP response headers from a request against a particular URL? Telnet or is there some other really good command or tool?
相关问题
- Angular RxJS mergeMap types
- Google Apps Script: testing doPost() with cURL
- How to instantiate Http service in main.ts manuall
- IPAddress.[Try]Parse parses 192.168 to 192.0.0.168
- C#使用http访问网络,有办法用指定网卡访问网络嘛?
相关文章
- C#使用http访问网络,有办法用指定网卡访问网络嘛?
- Is there a size limit for HTTP response headers on
- RMI Threads prevent JVM from exiting after main()
- Is a unicode user agent legal inside an HTTP heade
- git: retry if http request failed
- fsc.exe is very slow because it tries to access cr
- What is the definition of HTTP_X_PURPOSE?
- Flutter - http.get fails on macos build target: Co
If you are familiar with the developer tools in your browser, open the network tab on the developer tools, refresh the page, then click on the headers tab. The response headers will be listed. For instance this page sends this header:
There is a better choice (in my point of view)
It's a Firefox extension calle HTTPfox. You can not only see the header but much more information. It´s a very complete HTTP analyzer
https://addons.mozilla.org/en-US/firefox/addon/6647
Using a recent version of Firefox (19.0 in my case), going to menu Tools -> Web Developer -> Web Console (Ctrl + Shift +
K
on Windows) then refreshing the page produces a log of requests.Then clicking on one of the first GET requests, the one with the URL of the page, opens a box with information about it, including request and response headers. It works out of the box, no need for fancy-shmancy add-ons any more.
If you aren't looking to do it on your machine, you can use any number of online applications that do it for you.
On Linux I use:
This gets the file and shows all headers sent by the server.
On Windows one can use the same command if Cygwin is installed; either on regular command prompt, if the environment variables were properly adjusted, or through the Cygwin command window.
The Firebug addon for Firefox is the easiest way I think.