Partial implemeting 405-error handling