See exactly what headers apache is returning


/ Published in: Bash
Save to your folder(s)

-I says to get only the headers, the --user flag assumes the server wants basic authentication.


Copy this code and paste it in your HTML
  1. $ curl -I --user auser:mypassword http://example.com/test.jpg

Report this snippet


Comments


You need to login to view comments.