Skip to content

Commit 6676423

Browse files
committed
Slightly tweak chapter 20 to avoid asciidoc bug
1 parent 8e4a37d commit 6676423

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

20_node.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -855,10 +855,10 @@ function respondErrorOrNothing(respond) {
855855

856856
(((204 (HTTP status code))))(((body (HTTP))))When an ((HTTP))
857857
((response)) does not contain any data, the status code 204
858-
“no content” can be used to indicate this. Since we need to provide
859-
callbacks that either report an error or return a 204 response in a
860-
few different situations, I wrote a `respondErrorOrNothing` function
861-
that creates such a callback.
858+
(“no content”) can be used to indicate this. Since we need to
859+
provide callbacks that either report an error or return a 204 response
860+
in a few different situations, I wrote a `respondErrorOrNothing`
861+
function that creates such a callback.
862862

863863
(((file server example)))(((Node.js)))(((PUT method)))This is the
864864
handler for `PUT` requests:

0 commit comments

Comments
 (0)