top | item 46223911

(no title)

attractivechaos | 2 months ago

Even if getHeaders() has security/performance concerns, the better solution is to make it an alias to the newer headers.get() in this case. Keeping the old API is a small hassle to a handful of developers but breaking existing code puts a much bigger burden on a lot more users.

discuss

order

nodesocket|2 months ago

Ya, why not just alias old api calls to the new if implementation details changed?