expressjs.com
expressjs.com copied to clipboard
Added documentation for calling acceptsLanguages without argument
Calling req.acceptsLanguages
without argument(s) returns an array
of languages from the HTTP Accept-Language
header.
This is much easier than calling req.get('Accept-Language')
, because you do not need to parse the Accept-Language
header string
.
Close #1401