Skip to content
Myr

Removed ETag work-around for bug in node

Before adoption: this commit came in with the history the project adopted, so no landing records it.

commit that fixed this: http://github.com/ry/node/commit/3934cb54853ca23cee7ef3c6206a5b1264f8ba6d

authored by visionmedia · committed by visionmedia · parent ebca9aa · Browse files · 1 file+0 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−4 removed

  • other:+0 added−4 removed

1 file+0 added−4 removed

modified:lib/express/request.js-4 removed
191 unmodified lines
192 var self = this193 this.response.body = body194 this.trigger('response', function(err) {195 if (err) self.error(err, callback)196 // TODO: revisit. when this is true node will add Transfer-Encoding: chunked197 // along with a response body, which is not ideal when the user attemps198 // to respond with no body199 if (!body) self.response.useChunkedEncodingByDefault = false196 self.sendHead()197 if (body) self.response.write(self.response.body, encoding)198 self.response.end()199 }, true)
204 unmodified lines