curl http://www.google.com/
とターミナルで入力すると、
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8"> <TITLE>301 Moved</TITLE></HEAD><BODY> <H1>301 Moved</H1> The document has moved <A HREF="http://www.google.com/">here</A>. </BODY></HTML>
と表示される。
http://www.google.com/ からhtmlソースをダウンロードしてきたんですね。
コメントする