Uploaded image for project: 'Ymir'
  1. Ymir
  2. YMIR-227

[ymir-core] ActionNotFoundExceptionのデフォルトのハンドラが405を返すようにする

XMLWordPrintable

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor Minor
    • 0.9.6
    • Affects Version/s: 0.9.5
    • Component/s: ymir-core
    • None

      現在ActionNotFoundException専用のデフォルトのハンドラは設定されておらず、PageNotFoundExceptionのハンドラによって処理される。このためアクションが存在しない場合は404が返されるが、アクションがない場合はHTTPメソッドを処理できなかったのであるから404よりも405(Method Not Allowed)を返すのが適切。

      そこで、405を返すようなActionNotFoundExceptionのデフォルトハンドラを追加する。

            Assignee:
            skirnir skirnir
            Reporter:
            skirnir skirnir
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: