Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set additional property descriptor flags when updating request 'heade…
…rs' segment Set the 'configurable', 'enumerable', and 'writable' flags when updating the 'headers' segment with the validated results. An update to header parsing in Node 15 (nodejs/node#35281) resulted in these no longer being set on the IncomingMessage.headers property which led to a 'Cannot assign to read only property' TypeError if the celebrate middleware tries to update the 'headers' segment multiple times per request.
- Loading branch information