Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
joshuaxls
on Feb 11, 2009
|
parent
|
context
|
favorite
| on:
Fun With HTTP Headers
If you're using curl to poke around headers, as the author suggests, use the -I flag instead of the -i flag. -I gives you the headers only.
wooster
on Feb 11, 2009
[–]
That works, however some sites return different headers depending on whether they get a HEAD or GET request. -I sends a HEAD request, while -i sends a GET request.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: