Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes 404 when request header Accept-Encoding not set #48

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

underbluewaters
Copy link

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.

This pull request addresses the Issue detailed here:
#47

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.
@underbluewaters
Copy link
Author

Anything I can do to help move this along?

@fent
Copy link

fent commented Feb 6, 2013

+1

@swang
Copy link

swang commented Feb 7, 2013

👍 Would like to see this merged and also to have the code updated

@fent
Copy link

fent commented Feb 7, 2013

@arscan
Copy link

arscan commented Apr 18, 2013

👍

@gtracy
Copy link

gtracy commented Dec 2, 2013

curious why this change hasn't been incorporated yet?

@SLaks
Copy link

SLaks commented Dec 2, 2013

@gtracy If you look at the commit history, this repo appears to have been abandoned for about a year.

@gtracy
Copy link

gtracy commented Dec 2, 2013

There's no shortage of installations via NPM so there is plenty of interest in it. And without this fix, it can't be used in some use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants