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

if-none-match header getting deleted for all requests #7

Open
sarathsaleem opened this issue Jul 21, 2014 · 2 comments
Open

if-none-match header getting deleted for all requests #7

sarathsaleem opened this issue Jul 21, 2014 · 2 comments

Comments

@sarathsaleem
Copy link

I got an issue like req.headers['if-none-match'] is deleting from all the request regardless of image.
Seems like request doesn't get filtered by this condition
if (matchQueryString && req.accepts('image/*')

req.accepts('image/*') will accepts text/*, application/json (http://expressjs.com/3x/api.html#req.accepts)

@papandreou
Copy link
Owner

Hmm, that sounds really weird -- that shouldn't be possible. You don't happen to be using a pre-0.4.0 version of https://github.com/papandreou/express-compiless as well, do you?

@sarathsaleem
Copy link
Author

I am using express-compiless v- 0.4.0

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

No branches or pull requests

2 participants