feat: do not modify the Content-Type twice when sending strings (#6991)
* fix: improve content-type handling in res.send method * fix: ensure content-type is a string before setting charset in res.send * fix: refactor content-type handling in res.send to use const and improve clarity * Apply suggestion from @bjohansebas * docs: update History.md
S
Sebastian Beltran committed
a479419b16f5b97eb20f5dbae5848708ff30ce2d
Parent: 5a4568a
Committed by GitHub <noreply@github.com>
on 1/19/2026, 2:56:53 PM