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

  • submit to reddit
curl -I


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

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