Skip to content
Merged
Prev Previous commit
Next Next commit
chore(response): removed comment
  • Loading branch information
YuryShkoda committed Apr 21, 2022
commit 619495f095a5480e9e59207b953823f5b8d92a4a
1 change: 0 additions & 1 deletion lib/response.js
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,6 @@ res.redirect = function redirect(url) {
// Respond
this.statusCode = status;

// FIXME
// Because Content-Length and Transfer-Encoding can't be present in the response headers together,
// Content-Length should be added only if there is no Transfer-Encoding header
if (!this.get('Transfer-Encoding')) {
Expand Down