express-processimage
express-processimage copied to clipboard
`if-none-match` header getting deleted for all requests
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)
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?
I am using express-compiless v- 0.4.0