creationix/luvit — comment on commit b236b698ce3088505d93a240f19b91b964b88192
File: lib/response.lua line 143
By creationix:

has_body is only used for http responses. If you're doing websocket traffic, you would use the client object directly and this doesn't matter. Also, this is the exact same list of status codes that node uses to guess the body.