added handler for HTTP 405

I keep getting a weird error, I think its due to my nginx configuration.