expressjs.com icon indicating copy to clipboard operation
expressjs.com copied to clipboard

Added documentation for calling acceptsLanguages without argument

Open dotnetCarpenter opened this issue 1 year ago • 0 comments

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

dotnetCarpenter avatar Mar 05 '23 11:03 dotnetCarpenter