Skip to content

Commit 26ee3fc

Browse files
ikasumiwtMylesBorins
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 676be72 commit 26ee3fc

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
@@ -510,7 +510,7 @@ with a 100 Continue as appropriate.
510510

511511
Handling this event involves calling [`response.writeContinue()`][] if the client
512512
should continue to send the request body, or generating an appropriate HTTP
513-
response (e.g., 400 Bad Request) if the client should not continue to send the
513+
response (e.g. 400 Bad Request) if the client should not continue to send the
514514
request body.
515515

516516
Note that when this event is emitted and handled, the `'request'` event will
@@ -755,7 +755,7 @@ This method adds HTTP trailing headers (a header but at the end of the
755755
message) to the response.
756756

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

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

0 commit comments

Comments
 (0)