Please sign in to comment.
Fixes 404 when request header Accept-Encoding not set
When static middleware is enabled, sending a request without Accept-Encoding set would cause a premature call to pass() before checking if the requested file exists. This meant that calls to normal Express routes would be intercepted and result in 404s.
- Loading branch information...