doc: response.write ignores body in some cases
Fixes: https://github.com/nodejs/node/issues/8057
Hi guys. I hope it is ok to take a stalled PR (https://github.com/nodejs/node/pull/8992) and finally close the issue.
Please feel free to close it, if it is something wrong.
What is done here, is updated doc for http
and response.write
in particular with information that body
is ignored in case of HEAD request.
Checklist
-
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
doc, http