Better HTTP code for method not supported

Change HTTP code to raise from 400 to 405 (Method Not Allowed).