]> git.cworth.org Git - empires-server/commit
Provide an explicit (empty) return body for some responses
authorCarl Worth <cworth@cworth.org>
Thu, 11 Jun 2020 18:53:43 +0000 (11:53 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 11 Jun 2020 18:53:43 +0000 (11:53 -0700)
commit99fe599c5e4efab0fd285bc58f39ea09e2655dad
tree3ebba264d139024b0b32080bb2b7fadf4761ae05
parent98d81b7b03f2ad279debd6eb1372ca6746eebd88
Provide an explicit (empty) return body for some responses

If we just do the numeric sendStatus(200) then node goes and sends a
response with a body of "OK" rather than something empty.

I don't necessarily want that, (and I notice that when I have spurious
"OK" strings cluttering up my test-suite output).
empathy.js