Skip to content
Myr

Fixed [23]04 support

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 787a555 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:lib/response.js+1 added-1 removed
68 unmodified lines
69 break;70 }7172 // populate Content-Length73 if (!this.header('Content-Length')) {73 if (undefined !== body && !this.header('Content-Length')) {74 this.header('Content-Length', Buffer.isBuffer(body)75 ? body.length76 : Buffer.byteLength(body));77 }
330 unmodified lines