lint/style cleanup for #318
#329 res.methods incorrect in MethodNotAllowed event