Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What does "grabbing the banners of those websites" mean?

What would I type into wget or curl to download the "banner" of a site?



It's referring to HTTP Headers in the response. I think -I switch in curl will give you only response headers.


-I is an HTTP HEAD request (which may return a different response code than a traditional GET). To print the headers in any kind of request, use lowercase -i.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: