diff --git a/doc/api/http.md b/doc/api/http.md index 49a98d5f1734cb..d26a8d5ec1bec8 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -750,6 +750,9 @@ Returns `true` if the entire data was flushed successfully to the kernel buffer. Returns `false` if all or part of the data was queued in user memory. `'drain'` will be emitted when the buffer is free again. +When `write` function is called with empty string or buffer, it does +nothing and waits for more input. + ## Class: http.Server