Commit ba438fe5 authored by Gerhard Stoebich's avatar Gerhard Stoebich Committed by James M Snell
Browse files

doc: improve http.setHeader and getHeader typeinfo

http.setHeader() coerces input values.
http.getHeader() returns the type as passed to setHeader().

PR-URL: https://github.com/nodejs/node/pull/19902
Fixes: https://github.com/nodejs/node/issues/13825


Reviewed-By: default avatarChen Gang <gangc.cxy@foxmail.com>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
Reviewed-By: default avatarTrivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent b6fbe16b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment