Telnet で If-Modified-Since コマンドを使用しようとしています。304 Not modified statut コードを取得したい。これを試しましたが、うまくいきません。400 bad request エラーが発生します
telnet lemonde.fr 80
GET /index.html HTTP/1.1
User-Agent: Mozilla/5.0
From: yahoo.com
Accept: text/html,text/plain,application/*
Host: www.lemonde.fr
If-Modified-Since: Wed, 19 Oct 2015 10:50:00 GMT
<linefeed>
結果として得た
HTTP/1.0 400 Bad request Cache-Control: no-cache Connection: close Content-Type: text/html