Send HTTP/1.0 request without Host header with curl 

Joined:
04/07/2009
Posts:
178

September 01, 2013 20:39:37    Last update: September 01, 2013 20:39:37
Use:
  • the -0 option for HTTP/1.0
  • the -H 'Host:' option to omit the "Host" header.


$ curl --dump-header - -0 -H 'Host:' www.google.com
Share |
| Comment  | Tags