Rename BadMethod to Method. 
Added implementation for setting the content-type to text/plain for 405 response.