复数方法名

中英双语

以下方法名称已复数。在 Express 4 中,使用旧方法会导致弃用警告。Express 5 根本不再支持它们:

req.acceptsCharset()req.acceptsCharsets() 取代。

req.acceptsEncoding()req.acceptsEncodings() 取代。

req.acceptsLanguage()req.acceptsLanguages() 取代。