express-processimage icon indicating copy to clipboard operation
express-processimage copied to clipboard

`if-none-match` header getting deleted for all requests

Open sarathsaleem opened this issue 11 years ago • 2 comments

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)

sarathsaleem avatar Jul 21 '14 09:07 sarathsaleem

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?

papandreou avatar Jul 22 '14 09:07 papandreou

I am using express-compiless v- 0.4.0

sarathsaleem avatar Jul 22 '14 13:07 sarathsaleem