msemenistyi / connect-image-optimus

Connect/express middleware for optimal image serving with node.js. Switches to webp/jpegxr if possible
39 stars 7 forks source link

Exception in Chrome, when download webp images #1

Closed ale26 closed 10 years ago

ale26 commented 10 years ago

When i download webp image (from google chrome 33), i see error:

TypeError: Cannot call method 'indexOf' of undefined at Object.handle (C:\projects\cherdak-webperf-workshop\node_modules\connect- image-optimus\lib\image-optimus.js:39:27) at next (C:\projects\cherdak-webperf-workshop\node_modules\express\node_modu les\connect\lib\proto.js:193:15) at Object.expressInit as handle at next (C:\projects\cherdak-webperf-workshop\node_modules\express\node_modu les\connect\lib\proto.js:193:15) at Object.query as handle at next (C:\projects\cherdak-webperf-workshop\node_modules\express\node_modu les\connect\lib\proto.js:193:15) at Function.app.handle (C:\projects\cherdak-webperf-workshop\node_modules\ex press\node_modules\connect\lib\proto.js:201:3) at Server.app (C:\projects\cherdak-webperf-workshop\node_modules\express\nod e_modules\connect\lib\connect.js:65:37) at Server.EventEmitter.emit (events.js:98:17) at HTTPParser.parser.onIncoming (http.js:2108:12)

msemenistyi commented 10 years ago

@ale26 can you retest it?

ale26 commented 10 years ago

I spent retesting, error is not repeated

msemenistyi commented 10 years ago

thanks :thumbsup: