Skip to content

Commit d966045

Browse files
committed
fix: _isLenientHeaderValidation is not a function
1 parent c521286 commit d966045

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/response.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,11 @@ module.exports = class Response extends Writable {
605605
}
606606
return this;
607607
}
608+
_isLenientHeaderValidation() {
609+
// Node.js internal function for lenient header validation
610+
// Returns true to allow more permissive header value validation
611+
return true;
612+
}
608613
header(field, value) {
609614
return this.set(field, value);
610615
}

0 commit comments

Comments
 (0)