DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

View Returned HTTP Header On A Request

05.20.2005
| 9957 views |
  • submit to reddit
        
curl -I http://www.google.com/
    

Comments

Snippets Manager replied on Mon, 2012/05/07 - 2:12pm

You can also use wget: wget -s http://google.com/ Of course, wget actually downloads the file, which may or may not be desirable :)