@@ -155,7 +155,7 @@ sent to the server on that socket.
155155
156156` function (exception, socket) { } `
157157
158- If a client connection emits an 'error' event - it will forwarded here.
158+ If a client connection emits an 'error' event, it will be forwarded here.
159159
160160` socket ` is the ` net.Socket ` object that the error originated from.
161161
@@ -295,7 +295,7 @@ be called before [response.end()][] is called.
295295If you call [ response.write()] [ ] or [ response.end()] [ ] before calling this, the
296296implicit/mutable headers will be calculated and call this function for you.
297297
298- Note: that Content-Length is given in bytes not characters. The above example
298+ Note that Content-Length is given in bytes not characters. The above example
299299works because the string ` 'hello world' ` contains only single byte characters.
300300If the body contains higher coded characters then ` Buffer.byteLength() `
301301should be used to determine the number of bytes in a given encoding.
@@ -412,7 +412,7 @@ first chunk of body.
412412
413413Returns ` true ` if the entire data was flushed successfully to the kernel
414414buffer. Returns ` false ` if all or part of the data was queued in user memory.
415- ` 'drain' ` will be emitted when the buffer is again free.
415+ ` 'drain' ` will be emitted when the buffer is free again .
416416
417417### response.addTrailers(headers)
418418
@@ -921,7 +921,7 @@ following additional events, methods, and properties.
921921
922922` function () { } `
923923
924- Indicates that the underlaying connection was closed.
924+ Indicates that the underlying connection was closed.
925925Just like ` 'end' ` , this event occurs only once per response.
926926
927927### message.httpVersion
0 commit comments