visionmedia/express — pull request #1020 by papandreou (2012-02-22 10:11:51+00:00)
Title: req.accepts: */* wildcard fix

Look for `*/*` anywhere in the Accept header instead of only supporting it when it's the exact value of the header.

IE8 sends:

Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*

for which `req.accepts('html')` returned `false`.

This bug doesn't exist on the master branch.