Skip to content

Commit 64dec14

Browse files
ikasumiwtaddaleax
authored andcommitted
doc: fix e.g., to e.g. in doc/http.md
fix e.g., to e.g. in doc/http.md Fixes: nodejs/code-and-learn#58 PR-URL: #9564 Reviewed-By: Yosuke Furukawa <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Shigeki Ohtsu <[email protected]>
1 parent dae3d3e commit 64dec14

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/http.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ with a `100 Continue` as appropriate.
550550

551551
Handling this event involves calling [`response.writeContinue()`][] if the client
552552
should continue to send the request body, or generating an appropriate HTTP
553-
response (e.g., 400 Bad Request) if the client should not continue to send the
553+
response (e.g. 400 Bad Request) if the client should not continue to send the
554554
request body.
555555

556556
Note that when this event is emitted and handled, the [`'request'`][] event will
@@ -853,7 +853,7 @@ This method adds HTTP trailing headers (a header but at the end of the
853853
message) to the response.
854854

855855
Trailers will **only** be emitted if chunked encoding is used for the
856-
response; if it is not (e.g., if the request was HTTP/1.0), they will
856+
response; if it is not (e.g. if the request was HTTP/1.0), they will
857857
be silently discarded.
858858

859859
Note that HTTP requires the `Trailer` header to be sent if you intend to

0 commit comments

Comments
 (0)