复数方法名

中英双语

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

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

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

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