http: docs-only deprecation of res.writeHeader() · nodejs/node@fb71ba4 · GitHub
Skip to content

Commit fb71ba4

Browse files
committed
http: docs-only deprecation of res.writeHeader()
Doc-only deprecation of the undocumented res.writeHeader() API. Also makes res.writeHeader an alias of res.writeHead since the previous implementation simply deferred to that method. PR-URL: #11355 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent d4e1eaf commit fb71ba4

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

doc/api/deprecations.md

Lines changed: 11 additions & 0 deletions

lib/_http_server.js

Lines changed: 2 additions & 3 deletions

0 commit comments

Comments
 (0)