Closed godai0519 closed 9 years ago
どうすればいいの
この間みたいな感じだと思う. 取得待機の,200をもらえるまで叩きつけるコードが落ちるので見つけた.
??? 存在しないppmにアクセスされたら404以外返しようがないんだけど……
×HTTP/1.0 404 ○HTTP/1.0 404 Not found
うちの環境で再現しないんだけど……
sudo PORT=80 ../bin/release/pcserverで立ち上げて, 存在しないppm (http://127.0.0.1/problem/prob99.ppm) のHTTPレスポンス読めば, やっぱり
HTTP/1.0 404 Content-Length: 13 Content-Type: text/plain
になってるんだけど,そっちは違うの?
違う
% nc localhost 80 GET /problem/prob99.ppm HTTP/1.0
HTTP/1.0 404 Not found Content-Length: 13 Content-Type: text/plain
404 Not found
ちなみに
% nc localhost 80 GET /hogehoge HTTP/1.0
HTTP/1.1 404 Not Found Content-Length: 14 Content-Type: text/plain
404 Not Found
ごめん. mongooseのレポジトリをpullしたら,解消した. 修正以前のmasterだったのね.というか,治ったの最近なのか……
存在しないppmにリクエストすると,
HTTP/1.0 404 Content-Length: 13 Content-Type: text/plain
404 Not found