Skip to content
Myr

misc

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 108e66c · 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
111 unmodified lines
112 : crc.crc32(body));113 }114115 // freshness116 if ((this.statusCode >= 200 && this.statusCode < 300) || this.statusCode === 304) {116 if ((this.statusCode >= 200 && this.statusCode < 300) || 304 == this.statusCode) {117 if (req.fresh) this.statusCode = 304;118 }119120 // strip irrelevant headers
531 unmodified lines