Skip to content

Conversation

@ikeda-yuko
Copy link
Member

nomnichi に HEAD リクエストを飛ばすと, 405 Method Not Allowed が返ってくる.
これは,サーバは GET メソッドと HEAD メソッドは必ずサポートしなければならないという
HTTPの規約に反している.
このため,HEAD リクエストをサポートした.

具体的には,以下のページを参考に toWaiAppPlain を toWaiApp に変更した.
http://www.yesodweb.com/book/yesod-for-haskellers

変更後 200 OK が返ってくることを確認した.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant