Added error 405 method not allowed for head, options, trace, post, put, delete, trace, connect.