[YMIR-227] [ymir-core] ActionNotFoundExceptionのデフォルトのハンドラが405を返すようにする Created: 2008-08-23  Updated: 2008-08-23  Resolved: 2008-08-23

Status: Closed
Project: Ymir
Component/s: ymir-core
Affects Version/s: 0.9.5
Fix Version/s: 0.9.6

Type: Improvement Priority: Minor
Reporter: skirnir Assignee: skirnir
Resolution: Fixed Votes: 0
Labels: None


 Description   

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

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



 Comments   
Comment by skirnir [ 2008-08-23 ]

対処しました(r1423)。

Generated at Wed Apr 09 02:21:56 JST 2025 using Jira 10.5.0#10050000-sha1:9d9d098bb7b67e8dba8da380ba9c3900d82ac3cf.