lloyd / connect-etagify

etagify is connect middleware to add ETag headers to cachable but non-static content.
49 stars 6 forks source link

Doesn't work on Express 3.4.x #7

Open igorescobar opened 11 years ago

igorescobar commented 11 years ago

Hi! I'm trying to use your package but when using with express 3.4.x it is throwing an error:

TypeError: Object #<ServerResponse> has no method 'etagify' // res.etagify();
igorescobar commented 11 years ago

Aftwer changing the order when the app.use is called I could make it work but it messed up all my headers As you can see here:

screen shot 2013-10-15 at 2 29 07 pm

igorescobar commented 11 years ago

Did my contribution to the RESTClient Project: https://github.com/a85/POSTMan-Chrome-Extension/issues/400

;)